Re: Deleting specific files from many sub folders

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryan O'Neal
Date:  
To: Main PLUG discussion list
Subject: Re: Deleting specific files from many sub folders
Thanks :)

On Mon, Jul 26, 2010 at 8:28 PM, R P Herrold <> wrote:
> On Mon, 26 Jul 2010, Bryan O'Neal wrote:
>
>> I have a bunch of .au files I want to get rid but I don't want to hunt
>> them down in every darn sub directory. Suggestions?
>
> Move into the top directory of that set
>
>        find . -name "*.au" > manifest.txt
>
> Scan manifest.txt with your favorite editor and look for stuff you wish to
> retain -- mv them into new name suffixes
>
> Repeat the first step and make sure are happy for all listed there to go
> away
>
> Run one more time then like this:
>
>        find . -name "*.au" -a -exec rm {} \;
>
> All done
>
> -- Russ herrold
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss