aboutsummaryrefslogtreecommitdiff
path: root/trashrm
diff options
context:
space:
mode:
Diffstat (limited to 'trashrm')
-rwxr-xr-xtrashrm9
1 files changed, 0 insertions, 9 deletions
diff --git a/trashrm b/trashrm
deleted file mode 100755
index 27cd724..0000000
--- a/trashrm
+++ /dev/null
@@ -1,9 +0,0 @@
1#!/bin/sh
2
3# Move files to a trash folder
4
5trashfolder=${TRASH:-$XDG_DATA_HOME/mytrash}
6thisfolder="$trashfolder/$(date +'%Y-%m-%d-%s')"
7
8mkdir -p "$thisfolder"
9mv "$@" "$thisfolder"

Generated with cgit - Back to sebastiano.tronto.net