Re: Remove Windows Thumbs.db Files

2008-11-07 Thread Lisa Milne
try this: find /path/to/directory -name Thumbs.db -delete or this: find /path/to/directory -name Thumbs.db -print | xargs rm Lisa On Fri, 2008-11-07 at 21:36 +1000, Simon Ives wrote: I've just copied a directory from my wife's Windows XP box to my Hardy file server in preparation to

Re: Remove Windows Thumbs.db Files

2008-11-07 Thread Dave Hall
On Fri, 2008-11-07 at 21:36 +1000, Simon Ives wrote: I've just copied a directory from my wife's Windows XP box to my Hardy file server in preparation to reformat her PC to run Ubuntu solely. As I copied the entire directory (her Windows XP user directory) along came some annoying and

Remove Windows Thumbs.db Files

2008-11-07 Thread Simon Ives
I've just copied a directory from my wife's Windows XP box to my Hardy file server in preparation to reformat her PC to run Ubuntu solely. As I copied the entire directory (her Windows XP user directory) along came some annoying and unnecessary Windows files, specifically a whole heap of files

Re: Remove Windows Thumbs.db Files

2008-11-07 Thread Daniel Mons
Dave Hall wrote: First bit of advice - never trust anyone telling you to run rm -rf *snip* find /path/to/windows-files -iname thumbs.db -exec rm -rf {} \; Technically speaking there is no reason to need the -r (recursive) flag with rm when using find to find and delete files (as find itself is

Re: Remove Windows Thumbs.db Files

2008-11-07 Thread Dave Hall
On Sat, 2008-11-08 at 07:28 +1000, Daniel Mons wrote: Dave Hall wrote: First bit of advice - never trust anyone telling you to run rm -rf *snip* find /path/to/windows-files -iname thumbs.db -exec rm -rf {} \; Technically speaking there is no reason to need the -r (recursive) flag with rm