help with a bash script

Kurt Wall kwall
Mon May 17 12:00:46 PDT 2004


In a 1.1K blaze of typing glory, Marianne Taylor wrote:
> 
> Thanks Joel and Kurt and anyone else that helped.  I knew there was an easier 
> way than what I had.  One question... Is it necessary to specify "." for the 
> current directory or is that the default behaviour?

I believe that the default behavior is to look in the current directory,
so the "." is not strictly necessary. However, I find it easier to read
if I specify the directory.

> Additionally if I run the following line to test this 
> 
> find . -type f -mtime +15 -exec rm {}\;

You need a space between "{}" and "\;". 

Kurt
-- 
Graduate life: It's not just a job.  It's an indenture.



More information about the Linux-users mailing list