[prog] Perl and find(1)

Jacinta Richardson jarich at perltraining.com.au
Mon Dec 11 06:24:53 UTC 2006


Kathryn Hogg wrote:
> Jacinta Richardson wrote:
> 
>> jarich at bella:/tmp$ find . -atime +14 -name "*.tgz" -print -exec "ls -al"
>> find: missing argument to `-exec'
> 
> You don't want the double quotes around the ls command and you need the {}
> and the \;

Ah-hah, my cut n paste must have been less successful than I realised.  My bad.  :(

	J


More information about the Programming mailing list