To removal only the files (not subdirectories) in the current directory, use
the following command:
rm `ls -l | grep -v '^d' | awk '{ print $9 }'`
Subscribe to:
Post Comments (Atom)
Blog Your Face on technology, history, reviews, magic the gathering and getting things done
No comments:
Post a Comment