----- Original Message -----
From: "Gevaerts Frank" <[EMAIL PROTECTED]>
To: "Geoff" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, June 25, 2000 4:29 AM
Subject: Re: scripting help


> On Sun, 25 Jun 2000, Geoff wrote:
>
> > i need a script that will run everyday at midnight (thru cron i know,
this
> > isnt a problem), and go down a specific dir that is dated yesterday (ie
if
> > today is july 4, yesterdays dir would be 0703) and its subdirs and chmod
all
> > files of a specific extension to 644. if someone could point me toward a
> > scripting resource or give me some help id be much obliged... my
experience
> > with scripting is basically putting a few oft used commands into one
script,
> > nothing fancy.
>
> find `date +%m%d --date 'yesterday'` -name "*.ext" -type f -exec chmod 644
> {} \;
>
> Frank

[geoff@localhost gnapster]$ find `date +%m%d --date 'yesterday'` -name
"*.mp3" -type f -exec chmod 644 {}\;
find: missing argument to `-exec'

is this a problem with my shell?

-geoff


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to