Restoring from a tarball
Miner, Jonathan W (US SSA)
jonathan.w.miner at baesystems.com
Tue Oct 18 19:01:42 UTC 2011
> From: users-bounces at lists.fedoraproject.org [users-bounces at lists.fedoraproject.org] On Behalf Of Frank Cox [theatre at sasktel.net]
>
> The easiest solution is to extract the tarball and move (with the mv command)
> the marcia directory into /home on completion.
First... you can always just view the table of contents, -t option, to see what names are embedded in the archive.
Second, a quick test shows that "tar" stripped the leading slash when creating the archive:
$ cd $HOME
$ tar cvf a.tar /tmp/file1
tar: Removing leading `/' from member names
/tmp/file1
$ tar tvf a,tar
-rw-r--r-- user/group 403 2009-11-17 14:05 tmp/file1
- Jon
More information about the users
mailing list