homepage Welcome to WebmasterWorld Guest from 54.226.18.74
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
does this command exist to selectively remove directories
scorpion




msg:911844
 7:31 pm on Jun 21, 2003 (gmt 0)

if you have structure:

gallery/<dir1>/thumbs/
gallery/<dir2>/thumbs/
gallery/<dir3>/thumbs/

is there a command you can issue that will delete all /thumbs/ directories and files recursively but preserve each of gallery/<dirx>/ contents or would this have to be done programmatically?

 

przero2




msg:911845
 7:41 pm on Jun 21, 2003 (gmt 0)

I would say programmatically .. seek someone's help on eLance and it is so simple that someone perhaps will help you out for free

Air




msg:911846
 7:50 pm on Jun 21, 2003 (gmt 0)

rm -rf gallery/dir*/thumbs

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved