aboutsummaryrefslogtreecommitdiff
path: root/trashempty
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2022-01-07 18:21:48 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2022-01-07 18:21:48 +0100
commitb11656aaa376a50c8027ea7ae81735257e9b6feb (patch)
tree0b30785cfb35207d39d1969c4f79c58078408de8 /trashempty
parenta6e7b27fd1df9657acc81ffc81a1c7918650d9df (diff)
downloadscripts-b11656aaa376a50c8027ea7ae81735257e9b6feb.tar.gz
scripts-b11656aaa376a50c8027ea7ae81735257e9b6feb.zip
Added trash utilities
Diffstat (limited to '')
-rwxr-xr-xtrashempty7
1 files changed, 7 insertions, 0 deletions
diff --git a/trashempty b/trashempty
new file mode 100755
index 0000000..f13df45
--- /dev/null
+++ b/trashempty
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3# Empty trash (see trashrm)
4
5trashfolder=${TRASH:-$XDG_DATA_HOME/mytrash}
6
7rm -r $trashfolder/*

Generated with cgit - Back to sebastiano.tronto.net