From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d6a98ade9a60ece9 X-Google-Attributes: gid111c93,public From: Tony Hammitt Subject: Re: exact syntix of find + touch ?? Date: 2000/02/11 Message-ID: <38A39758.8BB1DF5@kc.rr.com>#1/1 X-Deja-AN: 584419388 Content-Transfer-Encoding: 7bit References: <87vign$1h9$1@ur.int-evry.fr> <87vpi8$d0v$1@sun27.hrz.tu-darmstadt.de> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@rr.com X-Trace: typhoon2.kc.rr.com 950245210 24.94.177.74 (Thu, 10 Feb 2000 23:00:10 CST) MIME-Version: 1.0 Reply-To: thammitt@kc.rr.com NNTP-Posting-Date: Thu, 10 Feb 2000 23:00:10 CST Newsgroups: comp.os.linux.alpha Thomas Jaeger wrote: > > Mathieu Millet wrote: > >find -newer now -exec "touch {};" > > Try: > find -newer now -exec touch {} \; > > Thomas > > ------------------------------------------------------------------------ > Thomas Jaeger > pgp-key : ftp://linux.mathematik.tu-darmstadt.de/pub/linux/people/jaeger > ------------------------------------------------------------------------ That way is a bit slow, try: find / -newer now -print | xargs touch xargs will put as many filenames as it can on one command line then execute the command, then repeat. It's _much_ faster than find -exec Regards, Tony