From f545ad724d13b889a068e4e0b82b6e2590bdcd44 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 15 Jan 2022 21:14:52 +0100 Subject: Fixed bug in removing files with spaces in name --- trashrm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trashrm') diff --git a/trashrm b/trashrm index a87c8ad..27cd724 100755 --- a/trashrm +++ b/trashrm @@ -6,4 +6,4 @@ trashfolder=${TRASH:-$XDG_DATA_HOME/mytrash} thisfolder="$trashfolder/$(date +'%Y-%m-%d-%s')" mkdir -p "$thisfolder" -mv $@ "$thisfolder" +mv "$@" "$thisfolder" -- cgit v1.3