星期四, 3月 19, 2015

快速下載tgz解壓縮

rtar

#!/bin/bash

if [ -z "$1" ]; then
echo "usage: rtar [url/tgz]"
exit 1
fi

wget -O - -q $1 | tar xvz

張貼留言