[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disk images



On Tue, 20 Jan 1998, George Bonser wrote:

> 
> Well cat file | tar cf - | tar xf - >otherfile will not even work.
> 
That's weird...  I've used tar a LOT for that sort of thing.  I wrote
myself a shell-script like this:

#!/bin/sh
(cd $1 && tar cf - . ) | (cd $2 && tar xvfp -)

BTW, my tar version:
geeky1,60:~/mprime% tar --version
GNU tar 1.11.8

Works great over here...  TTYL!


                            ---
                        Paul Anderson
		   paul @ geeky1.ebtech.net
    Author of Star Spek(a tongue in cheek pun on Star trek)
e-mail: starspek-request@lowdown.com with subscribe as the subject
I hear it's hilarious.               Maintainer of the Tips-HOWTO.
          http://www.netcom.com/~tonyh3/speck.html
         Unable to locate Coffee -- Operator Halted!