This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: find: missing argument to -exec


Hi,

I tried that, with echo instead of rm 8-)
you need to reverse \ and space:
find . -mtime 1 -exec rm {} \;


Bye, Heribert (heribert_dahms@icon-gmbh.de)

> -----Original Message-----
> From:	Stein M. Eliassen [SMTP:steinme@kpnqwest.no]
> Sent:	Thursday, March 15, 2001 23:28
> To:	cygwin@cygwin.com
> Subject:	find: missing argument to -exec
> 
> Hi,
> 
> When trying:
> find . -mtime 1 -exec rm {}\ ;
> 
> I'm receiving 'find: missing argument to -exec', I've tried several
> variants
> too.
> 
> Even searched the archives and found some post's regarding the subject,
> but I'm
> still not able to solve it.
> 
> Someone knows what's the problem here?
> 
> On another note, it's something wrong with my cygwin-setup since the 'alt
> gr'-key doesn't work in the cygwin-shell, but everything is correct from
> cmd.exe.
> 
> How do I handle that?
> 
> Cygwin version installed is 1.1.8 on NT4 SP6.
> 
> 
> Regards
> Stein
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]