Re: Use tar to append?

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

 



Mike McCarty wrote:
> Cameron Simpson wrote:
>> Yeah. "tar czf" works by piping through a gzip, so it's faster than
>> "tar cf
> 
> That's not the cause, I'm sure. For example, adding /usr/src, which is
> 48 KB (i.e. I deleted it, and only the directory structure remains) took
> two minutes. I looked carefully at the behavior, and it appears that
> tar reads the entire archive to find the EOF.
> 
The problem is that the entire archive is compressed, and not the
individual files in it. So to add files, you have to uncompress the
archive, add the files to it, and re-compress it. If you have the
space, you would be better off creating an uncompressed archive of
all the files you want to back up, and then compress and split the
archive at the end.

You could use zip instead of tar, as it will compress individual
files. Chances are, you will also find it on your next OS...

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux