Re:Ask HN: What's your speciality, and what's your "FizzBuzz...
by presidentender on Thursday January 02, 2014 @10:43AM
(#7000073)
Can't we
[ Parent
| on HN ]
Re:Ask HN: What's your speciality, and what's your "FizzBuzz...
by aaronem on Thursday January 02, 2014 @10:44AM
(#7000083)
You have stumbled squarely into the tripwire implicit in that question; "rm -rf *.mp3" ignores directories whose names don't end in ".mp3", and deletes those whose do.
Re:Ask HN: What's your speciality, and what's your "FizzBuzz...
by code_duck on Thursday January 02, 2014 @11:31AM
(#7000393)
It's supposed to be recursive. That would only delete the files in the current directory, not subdirectories as well.
Re:Ask HN: What's your speciality, and what's your "FizzBuzz...
by presidentender on Thursday January 02, 2014 @03:19PM
(#7001985)
-r is the 'recursive' flag.