Update x2t.sh
This commit is contained in:
parent
f28ad8600c
commit
efc6f22397
|
@ -113,7 +113,7 @@ if [ -d "$DIR" ]; then
|
||||||
convert_to_jpg # convert process.
|
convert_to_jpg # convert process.
|
||||||
cd ..
|
cd ..
|
||||||
echo "tar cvf $DIR.tar $DIR"
|
echo "tar cvf $DIR.tar $DIR"
|
||||||
tar cvf "$DIR.tar" "$DIR" --force-local # tar the directory.
|
tar cvf "$DIR.tar" "$DIR" --force-local --mode=a+rwX # tar the directory.
|
||||||
rm -r "$DIR"
|
rm -r "$DIR"
|
||||||
# send to home aria2
|
# send to home aria2
|
||||||
$ARIA2_RPC "$DIR.tar"
|
$ARIA2_RPC "$DIR.tar"
|
||||||
|
|
Loading…
Reference in New Issue