From owner-freebsd-questions Fri Jun 6 12:45:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA07382 for questions-outgoing; Fri, 6 Jun 1997 12:45:52 -0700 (PDT) Received: from cookiem.inch.com (cookiem.inch.com [204.178.32.164]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA07374 for ; Fri, 6 Jun 1997 12:45:44 -0700 (PDT) Received: (from zeus@localhost) by cookiem.inch.com (8.8.5/8.8.5) id PAA06581; Fri, 6 Jun 1997 15:45:45 GMT Date: Fri, 6 Jun 1997 11:45:45 -0400 (EDT) From: zeus daemon To: timmy ashby cc: questions@FreeBSD.ORG Subject: Re: your mail In-Reply-To: <199706061721.KAA18369@f49.hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk /dev/rst0 would be the tape drive are you archiving to tape? if not here is a little guide to tar, i keep around as a reminder (all this is available in the man page) Usage: tar {txruc}[vfbFXhiBelmopw[0-7]] [tapefile] [blocksize] [exclude-file] [- I include-file] files ... tar up the files in the current directory and save to filename.tar: tar cfv - . > filename.tar tar up the files in the directory dirname: tar cfv - dirname > filename.tar tar cvf /location/of/file.tar dirname look at the contents of a tarfile filename.tar tar tvf filename.tar untar a tarfile, excluding the files listed in exclude_file. Note, exclude_file must contain a full path list of the file to be excluded (e.g. dir/file_to_exclude). tar xfvX filename.tar exclude_file tar the contents of directory to tape tar cvf /dev/rmt/0 dirname tar a directory and write to tape device on a remote host /usr/local/bin/tar cvbBf 126 - /export/home | rsh alpha3 dd of=/dev/rmt/0 other flags tar xpkfvzX perl4.tgz exclude_perlman -C / k - keep same perms p - don't overwrite files that already exist C - change to this directory and untar redirect stdout/stderr tar cvf foo.tar directory > outputfile 2>&1 Thank you -zeus On Fri, 6 Jun 1997, timmy ashby wrote: > > i need a little more help. > > when i try to tar files it says "/dev/rst0 device not configured" > > can anyone tell me what this is? > > you do tar files with > > tar -c filename dont you? > > or do i not have that device configured in the kernal? > > > --------------------------------------------------------- > Get Your *Web-Based* Free Email at http://www.hotmail.com > --------------------------------------------------------- >