On Mon, 2009-04-06 at 16:57 -0400, John Almberg wrote:
> This is a real newbie question, but I can't figure it out...
>
> I want to remove all .tar files from a directory tree. I think
> something like the following should work, but I must have something
> wrong, because it doesn't:
>
> find . -name *.tar -exec rm /dev/null {} \;
>
find . -type f -name "*.tar" -delete
> What am I doing wrong?
>
> Thanks: John
>
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[email protected]"
--
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: [email protected]
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"