help with a bash script
Marianne Taylor
mataylor
Mon May 17 12:00:46 PDT 2004
On March 19, 2004 10:01, Kurt Wall wrote:
> 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
That worked, thanks.
More information about the Linux-users
mailing list