mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 13:18:35 -06:00
Changed tag for deleting
This commit is contained in:
parent
7fe112a0b1
commit
1e81ddddae
1 changed files with 3 additions and 1 deletions
|
@ -5,10 +5,11 @@
|
|||
# Depends on trash-cli
|
||||
# Pass "-delete" to delete files instead of trashing.
|
||||
|
||||
if [ "$1" = "-delete" ]; then
|
||||
if [ "$1" = "--delete" ]; then
|
||||
echo "Warning: Deleting instead of trashing."
|
||||
d=1
|
||||
else
|
||||
echo "Trashing files by default, pass --delete to delete instead."
|
||||
d=0
|
||||
fi
|
||||
|
||||
|
@ -25,4 +26,5 @@ for f in *.tex; do
|
|||
done
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Done!"
|
||||
|
|
Loading…
Reference in a new issue