[TAG] Re: Backing up with tar article

Thomas Adam thomas_adam16 at yahoo.com
Sat Feb 21 06:13:14 MSK 2004


 --- Dave Bechtel <kingneutron at yahoo.com> wrote: >

> --Note, rar falls under "non-free" in Debian.

Yes, it does.
 
> --I'm not *exactly* sure how to do:
> ' tar cvf - . |gzip -9 |bkp2rar ' (using ' -m0 ' in the script, which
> means no
> rar-compression)

You can do something like this:

``
find . -maxdepth 1 | xargs tar cz myfile.tgz
''

No need for your script. That, and:

http://linuxgazette.net/issue78/adam.html#keyfiles

might be of interest.

> ...and have it split into volumes On-The-Fly.  Tried some experiments
> with
> named pipes (mkfifo) but didn't get anywhere.  Any advice on this is
> welcome.

That's really overcomplicating things. In either case, use find(1), or use
the implicit file list to tar (tar -T).

[..snip..]

-- Thomas Adam

=====
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor"                 -- http://linuxgazette.net

"<shrug> We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)


	
	
		
Does your mail provider give you FREE antivirus protection?
Get Yahoo! Mail http://uk.mail.yahoo.com




More information about the TAG mailing list