Restoring from a tarball
tmz at pobox.com
Tue Oct 18 18:59:55 UTC 2011
Frank Cox wrote:
> The problem you're going to run into is the initial / that you used
> before home/marcia when you created the tarball. Tar won't restore
> the initial / so when you extract the files they will end up in
> home/marcia under whatever directory you're currently in at that
> The easiest solution is to extract the tarball and move (with the mv
> command) the marcia directory into /home on completion.
Or use the --absolute-names (-P) option to tar. That's for "don’t
strip leading ‘/’s from file names."
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
-- Douglas Adams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 543 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20111018/54496962/attachment.bin
More information about the users