From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jiang Wei Newsgroups: gmane.os.tru64.managers Subject: SUMMARY:Help to make a tar Date: Mon, 26 Aug 2002 14:29:45 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 X-Trace: main.gmane.org 1030366124 7677 127.0.0.1 (26 Aug 2002 12:48:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 26 Aug 2002 12:48:44 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17jJIQ-0001zZ-00 for ; Mon, 26 Aug 2002 14:48:42 +0200 Original-Received: (qmail 7378 invoked by uid 5); 26 Aug 2002 12:29:57 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 7369 invoked by uid 49493); 26 Aug 2002 12:29:57 -0000 Original-Received: from jiang@ebu.ch by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. Clear:. Processed in 0.399455 secs); 26 Aug 2002 12:29:57 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 26 Aug 2002 12:29:56 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1G00C7NAPV6B@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 26 Aug 2002 08:29:55 -0400 (EDT) Original-Received: from MAILGATE.ebu.ch (mailgate.ebu.ch [194.158.3.36]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H1G001AQAPM2Z@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 26 Aug 2002 08:29:48 -0400 (EDT) Original-Received: from gnvasmile.ebu.ch (unverified) by MAILGATE.ebu.ch (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Mon, 26 Aug 2002 14:23:07 +0200 Original-Received: by gnvasmile.ebu.ch with Internet Mail Service (5.5.2650.21) id ; Mon, 26 Aug 2002 14:29:45 +0200 Content-return: allowed Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2650.21) Xref: main.gmane.org gmane.os.tru64.managers:1480 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1480 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 **********************************************************************