find . -type f -name 'Makefile-noedit' -exec rm -f '{}' \;
That will remove all files named Makefile-noedit from the current directory
and below.
Check out the manpage on find.
----- Original Message -----
From: "Paul Zimdars"
Simple question,
I was wondering how I could easily delete 1 specific file throughout several subdirectories without having to type rm <filename> in each subdirectorie.
I tried rm -r Makefile-noedit from the top level and it just says Makefile-noedit : No such file or directory.
if I got to each subdirectory and do rm Makefile-noedit it works.
Thanks,
Paul
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/