home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!darwin.sura.net!spool.mu.edu!agate!doc.ic.ac.uk!uknet!keele!nott-cs!dpg
- From: dpg@cs.nott.ac.uk (Dave `geek' Gymer)
- Newsgroups: comp.os.linux
- Subject: ANNOUNCE: improved afio 2.3
- Message-ID: <1992Nov16.095102.13125@cs.nott.ac.uk>
- Date: 16 Nov 92 09:51:02 GMT
- Reply-To: dpg@cs.nott.ac.uk (`Grave' Dave Gymer)
- Organization: Nottingham University
- Lines: 38
-
- I've finally gotten round to fixing my last major gripe with afio, and
- have uploaded a new version of the source to sunsite.unc.edu.
-
- For those who missed my first post on afio, it's a cpio-style archiver
- (posted to comp.sources.misc a while back) which can create multiple
- volume archives on floppies, compressing individual files if required,
- and is able to recover from paritally damaged archives (an ability for
- which I am personally very grateful!).
-
- This new version has been hacked so that making a compressed backup of
- already compressed files and then restoring the backup will _not_
- uncompress those files, only the ones that afio itself decided to
- compress. It's a kind of poor man's ARJ for Unix...
-
- Doing a backup is then as simple as...
-
- bash# find / | egrep -v "^/proc|^/dos-c/|^/lib/libc.|^/dev/|^/usr/tmp/|^/tmp/" | afio -ovzFZxAg -s 720k -b 256 /dev/fd0
-
- ... (sorry about the length of that line!). I got burned once by trying
- to uncompress the shared library that uncompress wanted to use.... ouch!
- I knew the Norton utils would come in handy one day... No doubt there
- are better ways of doing that than using egrep, but my knowledge of
- find(1) syntax is pretty shaky! I like to bung a sort(1) in there just
- before the afio too.
-
- Then, to restore, use
-
- bash# afio -ivxAFZ -b 256 -s 720k /dev/fd0
-
- It's as easy as that! (The -b 256 sets a smaller blocking factor, which
- reduces the archive size slightly.)
-
- -- Dave.
- --
- `Grave' Dave Gymer | ___ Home /\/ THISISONEOFTHOSECONFUSINGHORRIBLEUNR
- 42 St Mary's Park | / \ Sweet /\/ EADABLENOSPACESALLINUPPERCASEMESSAGES
- Louth, Lincs | | RIP | Home /\/ THATPEOPLELIKETOPUTINTHEIRSIGNATURES!!
- LN11 0EF, England |_|_____|______/\/____THE_BOTTOM_LINE_____________________
-