From 15e66a45824d511bfe24b8f32f944fd2c1d21b5c Mon Sep 17 00:00:00 2001 From: committer Date: Tue, 28 May 2024 12:47:31 -0500 Subject: [PATCH] + trashPut.sh --- dots/bin/trashPut.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dots/bin/trashPut.sh diff --git a/dots/bin/trashPut.sh b/dots/bin/trashPut.sh new file mode 100644 index 0000000..49edd5d --- /dev/null +++ b/dots/bin/trashPut.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +# klevstul :: 24.05 + +this_file_name=`basename "$0"` +echo ":: $this_file_name :: [K] ::" + +if [ $# -lt 1 ]; then + echo "usage: '$this_file_name {path_to_file}'" + exit 1 +fi +path_to_file=$1 + +trash-put ${path_to_file}