Restoring from a tarball

Miner, Jonathan W (US SSA) jonathan.w.miner at
Tue Oct 18 19:01:42 UTC 2011

> From: users-bounces at [users-bounces at] On Behalf Of Frank Cox [theatre at]
> 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
$ 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