rm *.gz, when there's 50,000 *.gz file, it will say "argument's too long".
So, this command works:
find . -name "*.gz" -exec rm {} \;
Thanks to Gopala for a tip!
This is Argyn's blog. I comment on topics of my interests such as software, math, finance, and music. Also, I write about local events in Northern Virginia, USA and all things related to Kazakhstan
No comments:
Post a Comment