View previous topic :: View next topic |
Author |
Message |
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Thu Oct 19, 2006 12:02 pm Post subject: [SOLVED]rm |
|
|
How to remove all Thumbs.db from directory tree (in all subdirectories)? Is It possible?
Last edited by a16b03 on Thu Oct 19, 2006 1:05 pm; edited 1 time in total |
|
Back to top |
|
|
Kartagis n00b
Joined: 15 May 2006 Posts: 20 Location: Turkey
|
Posted: Thu Oct 19, 2006 12:06 pm Post subject: |
|
|
find /path/here -iname Thumbs.db -print0 | xargs -0 rm _________________ Registered Linux user #388977 |
|
Back to top |
|
|
Voltago Advocate
Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Thu Oct 19, 2006 12:07 pm Post subject: |
|
|
Code: | find . -name "Thumbs.db" -exec rm {} \; |
or, more unixy,
Code: | find . -name "Thumbs.db" | xargs rm |
|
|
Back to top |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Thu Oct 19, 2006 1:05 pm Post subject: |
|
|
Thanks |
|
Back to top |
|
|
|