← Back to team overview

sslug-teknik team mailing list archive

Re: xargs?

 

Andreas Bach Aaen <abach@xxxxxxxxxxxxxxxxx> writes:

> find . -mtime 7 | xargs rm
> (et manglende .)

Nope. Fra man find:

 If no paths are given, the current directory is used.

> Manglende . og tar. Iøvrigt så har GNU tar det fint uden "-" i 
> modsætning til de fleste andre tar.

Korrekt jeg glemte 'tar', men -'en sætter jeg altid.

-- 
 Peter Makholm     |    Yes, you can fight it, but in the end the ultimate
 peter@xxxxxxxxxxx |                           goal of life is to have fun
 http://hacking.dk |                                     -- Linus Torvalds


Follow ups

References