Text Link Ads

Saturday, September 1, 2007

REMOVE JUST THE FILES

To removal only the files (not subdirectories) in the current directory, use
the following command:

rm `ls -l | grep -v '^d' | awk '{ print $9 }'`

No comments: