mirror of
https://github.com/xdtianyu/scripts.git
synced 2025-08-08 19:01:22 +08:00
Update x2t.sh
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user