On Tuesday, October 15, 2002, at 09:44  AM, Josh Kuperman wrote:

I couldn't even figure out how to get a decent tar archive, let alone
a multidisk tar archive. (My first foolish attempt to make a .tgz or
/sw/src resulted in a file larger than simply copying -- and was too
largre to burn to a single CD anyhow.
Copying the /sw/fink/dists archive and using dpkg --get-selections is a much cleaner solution than tarballing the whole directory structure is the cleanest solution, but if you really want the whole Fink tree backed up, here are some useful tar tips:

If you pass tar the -z flag, as opposed to gzipping the resulting tar file separately, you wind up with a .tgz, which is different than a tar.gz. The first format contains each file individually gzipped, while the latter contains everything archived into a single .tar file, which is then gzipped as a whole, which will almost always result in greater compression.

Also, be sure to use the -p and -P flags for tar. -p preserves all the file flags and permissions, while -P instructs tar "Do not strip leading slashes (``/'') from pathnames." (according the man page).

----
"Think Different. Like The Rest of Us."



-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users


Reply via email to