On Mon, 6 Apr 2009 16:57:39 -0400, John Almberg wrote:
JA> This is a real newbie question, but I can't figure it out...
JA> I want to remove all .tar files from a directory tree. I think  
JA> something like the following should work, but I must have something  
JA> wrong, because it doesn't:
JA> find . -name *.tar -exec rm /dev/null {} \;

find . -type f -name '*.tar' -delete

 Anton Yuzhaninov

freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to