home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!ashtray
- From: ashtray@yoyo.cc.monash.edu.au (John Newnham)
- Subject: Re: The backup problem (was Re: tar won't do multi-volume archives)
- Message-ID: <1993Jan13.011738.18849@monu6.cc.monash.edu.au>
- Sender: news@monu6.cc.monash.edu.au (Usenet system)
- Organization: you have got to be kidding!
- References: <1993Jan11.151640.16986@wam.umd.edu> <0JJ9wB3w165w@kf8nh.wariat.org>
- Date: Wed, 13 Jan 1993 01:17:38 GMT
- Lines: 24
-
- In article <0JJ9wB3w165w@kf8nh.wariat.org> kf8nh@kf8nh.wariat.org (Brandon S. Allbery) writes:
- >
- >Not last I heard... tar can be made to take a list of file names from stdin,
- >but not a succession of files (how is it to know where one stops and the
- >next starts?).
- >
-
- by using a shell script? something along the lines of:
-
- tar c /mnt/backup
- for file in $LIST
- do
- # should make sure the filename is <= 12 chars, or it will not work
- compress -c $file
- tar u /mnt/backup ${file}.Z
- rm -f ${file}.Z
- done
-
- seems easy enough. Now just add the other flags you need, for multi-volume
- support etc. The LIST could be created by an embedded `find` instead.
- Now you don't have to worry about a one-bit error in the tar file.
- --
- Vogt's commentary on the theory of Morphic Resonance:
- There is no god! The universe just got into bad habits. (Marcus Vogt)
-