Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (8 sloc) 144 Bytes
#!/bin/bash
stamp=$(date +'%y%m%d-%H%M%S')
for args in "$@"
do
name=$(basename "$args")
mv -f "$args" ~/Trash/"$name"-"$stamp"
done
exit 0