[Novalug] rm question

Roy Wilson emperor_wilson@verizon.net
Thu Oct 10 11:55:35 EDT 2013


  Dumb question...

  I've tried every pattern of swapping switches, directories, etc and I can't get rm to do what I want.

  I've got a 2tb drive with something on the order of 17,000 directories on it.

  Most of those directories have several files with the same data in different formats.

  I want to delete some of those formats.

  rm -r *.ext1 *.ext2 etc works - but only in the directory I'm physically in - it doesn't recurse all the subdirectories.

  I KNOW this can be done.  Someone please tell me the (probably obvious) correct command syntax is to get it to do what I want - please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20131010/f5583eee/attachment.htm>


More information about the Novalug mailing list