Re: Remove Windows Thumbs.db Files

2008-11-11 Thread Simon Ives
files with great success and all in about 3 seconds! -- Simon Ives [EMAIL PROTECTED] www.simonives.info Please consider the environment before printing this email or any attachments. > Message: 2 > Date: Fri, 07 Nov 2008 21:47:08 +1000 > From: Lisa Milne <[EMAIL PROTECTED]>

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) >

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"

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 unne

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 r

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 cal