In Unix-land, I would use:
find . -type f -name README.txt -ex rm {} \;
(Alternatively, and probably a little more circumspect: "find
/dirname/subdirname/etc .....")
Is that valid syntax in Linux?
JC
On Thu, Jan 5, 2012 at 4:37 PM, John Mort <[email protected]> wrote:
> john@azrael:/media/mtool/Tokens$ ls * | grep README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> README.txt
> README.txt
>
>
> The folder I'm running this command in has many many subfolders. How do I
> change my command to tell me where these README.txt files are so that I can
> purge them?
>
> --
> John D. Mort
> http://john.mort.net
>
>
>
> _______________________________________________
> Mid-Hudson Valley Linux Users Group http://mhvlug.org
> http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
>
> Upcoming Meetings (6pm - 8pm) Vassar College
> Feb 1 - Home Networking Made Simple with Amahi Home Server
> Mar 7 - March 2012 Meeting - 9th Annivesary of MHVLUG
> Apr 4 - April 2012 Meeting
>
>
--
Eschew obfuscation and pompous prolixity.
Light a man a fire, he is warm for the night.
Light a man afire, he is warm for the rest of his life.
_______________________________________________
Mid-Hudson Valley Linux Users Group http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
Upcoming Meetings (6pm - 8pm) Vassar College
Feb 1 - Home Networking Made Simple with Amahi Home Server
Mar 7 - March 2012 Meeting - 9th Annivesary of MHVLUG
Apr 4 - April 2012 Meeting