Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]rm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Thu Oct 19, 2006 12:02 pm    Post subject: [SOLVED]rm Reply with quote

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
View user's profile Send private message
Kartagis
n00b
n00b


Joined: 15 May 2006
Posts: 20
Location: Turkey

PostPosted: Thu Oct 19, 2006 12:06 pm    Post subject: Reply with quote

find /path/here -iname Thumbs.db -print0 | xargs -0 rm
_________________
Registered Linux user #388977
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Thu Oct 19, 2006 12:07 pm    Post subject: Reply with quote

Code:
find . -name "Thumbs.db" -exec rm {} \;

or, more unixy,
Code:
find . -name "Thumbs.db" | xargs rm
Back to top
View user's profile Send private message
a16b03
Apprentice
Apprentice


Joined: 21 Mar 2006
Posts: 253
Location: Riga, Latvia

PostPosted: Thu Oct 19, 2006 1:05 pm    Post subject: Reply with quote

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum