[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 25/08/10 13:47, Simon Robert wrote:
My command line skills are minimal. If I am in a directory called "recover" with 3000 sub directories what command can I use to a delete all files callled *.xml b delete empty sub directories
I'd be tempted to: find . -name \*.xml -print | xargs rm find . -type d -print | xargs rmdir I think. James -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq