2009-11-18から1日間の記事一覧
#!/bin/sh #find_rm.sh . f_askdir.sh ask_directory 1 if [ $? -eq 1 ]; then exit 1 fi if [ $(find ${_DIRNAME} -name '*~' | wc -l) -eq 0 ]; then echo "NO file." else find ${_DIRNAME} -name '*~' -ok rm {} \; echo "*** Successful." fi unset _DI…