fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: RE: Restoring from a tarball

RE: Restoring from a tarball

From: Miner, Jonathan W (US SSA) <jonathan.w.miner_at_nospam>
Date: Tue Oct 18 2011 - 19:01:42 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

> From: users-bounces@lists.fedoraproject.org [users-bounces@lists.fedoraproject.org] On Behalf Of Frank Cox [theatre@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
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines