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