From owner-freebsd-questions Tue Sep 19 21: 6:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from srcso.globis.ru (globis.ru [212.248.80.7]) by hub.freebsd.org (Postfix) with ESMTP id 858A337B42C for ; Tue, 19 Sep 2000 21:06:52 -0700 (PDT) Received: from raduga.dyndns.org (raduga.sochi.net [212.248.82.76]) by srcso.globis.ru (8.9.3/8.9.3) with ESMTP id IAA11990 for ; Wed, 20 Sep 2000 08:24:52 +0400 (MSD) (envelope-from igor@raduga.dyndns.org) Received: (from igor@localhost) by raduga.dyndns.org (8.10.0/8.10.0) id e8K46Wx11493 for freebsd-questions@freebsd.org; Wed, 20 Sep 2000 08:06:32 +0400 Date: Wed, 20 Sep 2000 08:06:32 +0400 From: Igor Roboul To: FreeBSD questions Subject: GNU tar on FreeBSD Message-ID: <20000920080632.A11387@linux.rainbow> Reply-To: igorr@crosswinds.net Mail-Followup-To: FreeBSD questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i X-Operating-System: Linux linux.rainbow 2.2.14-plus-SMP X-Best-Window-Manager: Window Maker (www.windowmaker.org) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have one question about GNU tar on FreeBSD. It has -T option which gives file name from which tar will get file list. On GNU/Linux I can use command: "find $f ! -name $f -type f -newer /usr/local/etc/backup/last_`basename $f` \ | tar czT - -f $STORAGE_DIR/$bf.tgz" On FreeBSD I got tar: "too many args with -T option" Ok, I tried find [...] >file and then tar cz -T file -f $STORAGE_DIR/$bf.tgz and got tar: can't add file -Ttar (child): : No such file or directory can't open archive /dev/rsa0 : Device not configured One thing I can not understand. We have GNU tar. We have GNU gzip, but why I cant get same results? I can rewrite my backup process with cpio (it gets file names from stdin by default) But "WHY?" -- Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", Sochi, Russia http://www.brainbench.com/transcript.jsp?pid=304744 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message