From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,a0766b75e5b4bd5a X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,a0766b75e5b4bd5a X-Google-Attributes: gidfee84,public From: s11976@net1.hkbu.edu.hk (P.M.Wong ) Subject: Re: using find command to select files to backup Date: 2000/07/20 Message-ID: <8l6e62$gmh$1@power25t.hkbu.edu.hk>#1/1 X-Deja-AN: 648538380 References: <8l3rme$prp$1@power25t.hkbu.edu.hk> <8l46l0$htq@web.nmti.com> Followup-To: comp.unix.questions,comp.unix.osf.osf1 X-Complaints-To: pm@hkbu.edu.hk X-Trace: power25t.hkbu.edu.hk 964082690 17105 158.182.4.1 (20 Jul 2000 08:44:50 GMT) Organization: Hongkong Baptist University NNTP-Posting-Date: 20 Jul 2000 08:44:50 GMT Newsgroups: comp.unix.questions,comp.unix.osf.osf1 Peter da Silva (peter@nmti.com) wrote: : find . -name "[a-z][0-9]*" > /tmp/fn$$ && : tar -c -v -f /somedir/somefile.tar -R /tmp/fn$$ && : rm -f /tmp/fn$$ : (sh, in csh you need to add \ after the &&) i've tried it. Only the mulitple commands which i placed in a shell script works. Not the former method you stated Thanks anyway