SUMMARY:Help to make a tar

From: Jiang Wei (jiang@ebu.ch)
Date: Mon Aug 26 2002 - 08:29:45 EDT


Thanks to:
Lucas Carey, Steve Feehan, Peter Stern, Shiva Gowda, Xavier Mertens and
Stephen Mulcahy to their quick answer !

More of them propose:
find /data -name '*.c' -type f -exec tar rvf {} \;
or
find /data -name '*.c' | xargs tar cvf /tmp/test.tar -

Thanks again!!!

Original message:
Hi Managers,

I have a trouble to make a tar like this: tar cvf /tmp/test.tar `find /data
-name '*.c'`

each time, I recevied a error says: /sbin/tar: Arg list too long

Could I have another way to backup only the selection files?

I'm running under Tru64 V5.1a.

Wei Jiang
IT Services
European Broadcasting Union
Tel: +41 (022) 717 21 61 or 747 91 61
Fax: +41 (022) 747 41 61
Email: jiang@ebu.ch
echo '16i[q]sa[lT0=alT100%PlT100/sTlbx]sb494557204F4EsTlbxq' | dc

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:50 EDT