[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?
nope. you made a typo - you left out the space between {} and \;
which confused find
i.e:
[noop@fission]$find -name foo -exec bar {}\;
find: missing argument to `-exec'
[noop@fission]$find -name foo -exec bar {} \;
[noop@fission]$
just change it to:
[geoff@localhost gnapster]$ find `date +%m%d --date 'yesterday'` -name
"*.mp3" -type f -exec chmod 644 {} \;
and you should be fine.
have fun,
greg
-
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