Update x2t.sh

This commit is contained in:
tianyu 2015-08-12 20:54:41 +08:00
parent f28ad8600c
commit efc6f22397
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ if [ -d "$DIR" ]; then
convert_to_jpg # convert process.
cd ..
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"
# send to home aria2
$ARIA2_RPC "$DIR.tar"