1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh # Moves an element to a litter folder instead of permanently removing it folder="$HOME/litter/" [ -d "$folder" ] || mkdir "$folder" for file in "$@" do mv "$file" "$folder" done [ -n "$STATUS_BAR" ] && pkill -SIGRTMIN+14 "$STATUS_BAR"