#!/bin/bash if [ $# -gt "1" ]; then echo $0 [\] exit fi if [ $# -eq "0" ]; then patho="." else patho=$1 fi rm $patho/*~ rm -i $patho/\#*