+ trashPut.sh
This commit is contained in:
14
dots/bin/trashPut.sh
Normal file
14
dots/bin/trashPut.sh
Normal file
@@ -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}
|
||||
Reference in New Issue
Block a user