aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2022-01-15 21:14:52 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2022-01-15 21:14:52 +0100
commitf545ad724d13b889a068e4e0b82b6e2590bdcd44 (patch)
tree0b348a1c6dd576d09746b4fb80b1c092effd0008
parent3ae50860f445752ba20751835b332d21ae2d2cb9 (diff)
downloadscripts-f545ad724d13b889a068e4e0b82b6e2590bdcd44.tar.gz
scripts-f545ad724d13b889a068e4e0b82b6e2590bdcd44.zip
Fixed bug in removing files with spaces in name
-rwxr-xr-xtrashrm2
1 files changed, 1 insertions, 1 deletions
diff --git a/trashrm b/trashrm
index a87c8ad..27cd724 100755
--- a/trashrm
+++ b/trashrm
@@ -6,4 +6,4 @@ trashfolder=${TRASH:-$XDG_DATA_HOME/mytrash}
6thisfolder="$trashfolder/$(date +'%Y-%m-%d-%s')" 6thisfolder="$trashfolder/$(date +'%Y-%m-%d-%s')"
7 7
8mkdir -p "$thisfolder" 8mkdir -p "$thisfolder"
9mv $@ "$thisfolder" 9mv "$@" "$thisfolder"

Generated with cgit - Back to sebastiano.tronto.net