Deleting specific files from many sub folders

keith smith klsmith2020 at yahoo.com
Mon Jul 26 22:03:39 MST 2010


It's scary how powerful Linux is!

------------------------

Keith Smith



If my people, who are called by my name, will humble themselves and pray and seek my face and turn from their wicked ways, then will I hear from heaven and will forgive their sin and will heal their land. - 2 Chronicles 7:14

--- On Mon, 7/26/10, Bryan O'Neal <Bryan.ONeal at TheONealAndAssociates.com> wrote:

From: Bryan O'Neal <Bryan.ONeal at TheONealAndAssociates.com>
Subject: Re: Deleting specific files from many sub folders
To: "Main PLUG discussion list" <plug-discuss at lists.plug.phoenix.az.us>
Date: Monday, July 26, 2010, 8:30 PM

Thanks :)

On Mon, Jul 26, 2010 at 8:28 PM, R P Herrold <herrold at owlriver.com> 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 - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20100726/ddd724fb/attachment.html>


More information about the PLUG-discuss mailing list