"find . ! -name "*.bz2" ! -name "ESPRD*" | xargs rm"
The above command finds all files in the "current" directory excluding those with "*.bz2" extension and those which start with "ESPRD*" and then deletes them all.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment