1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-27 05:28:37 -06:00

Changed tag for deleting

This commit is contained in:
Sayantan Santra 2022-01-22 18:38:30 -06:00
parent 7fe112a0b1
commit 1e81ddddae

View file

@ -5,10 +5,11 @@
# Depends on trash-cli # Depends on trash-cli
# Pass "-delete" to delete files instead of trashing. # Pass "-delete" to delete files instead of trashing.
if [ "$1" = "-delete" ]; then if [ "$1" = "--delete" ]; then
echo "Warning: Deleting instead of trashing." echo "Warning: Deleting instead of trashing."
d=1 d=1
else else
echo "Trashing files by default, pass --delete to delete instead."
d=0 d=0
fi fi
@ -25,4 +26,5 @@ for f in *.tex; do
done done
fi fi
done done
echo "Done!" echo "Done!"