22 May
2004
22 May
'04
21:37
On Saturday 22 May 2004 14:04, pinto wrote:
On Saturday 22 May 2004 18:09, Robert Paulsen wrote:
Something like this:
find ./test -mtime +7 -exec rm -f {} \ ;
___________________
Dear Mr Paulsen ~ Many thanks,
in case relevant, my SuSE is version 8.0
. . . i have tried :
find ./test -mtime +7 -exec rm -f {} \ ;
But, am greeted by complaint "find: missing argument to '-exec' "
. . . what, please, do you think is needed?
Your line above has a space between the backslash and the semicolon. The backslash protects whatever character immediately follows it, which is a space in your line above. You need to protect the semicolon from the shell so you need "\;" with no spaces between. -- Robert C. Paulsen, Jr. robert@paulsenonline.net