[Novices] Extracting archived files

Adam Tauno Williams awilliam at whitemice.org
Mon Aug 22 07:50:41 EDT 2005


> >I'd recommend -
> >
> >star -cv H=exustar bs=8k fs=64m f={backupdeviceorfile} /home /etc
> I really feel like an idiot for needing to ask this one, but how would
> you extract files from an archve so that they replace what's already
> in /home and /etc?
> star -Uxv H=exustar bs=8k fs=64m f=/tmp/backup8_9_05
> makes a lot of text scroll across the screen, but no actual files seem
> to be created, or if they are, I'm looking for them in the wrong
> place.

Why the "-U",  that implies you are updating a tar file - that is -
adding files to the end of an existing backup.... whereas  "x" implies
you are extracting.

If you backed up relative to "/" you probably want to add a "-/" [you
should really grasp what that means first].

The files you see scrolling past have probably been extracted relative
to you current working directory.  Do an "ls" and see if the topmost
folders in the archive now exist in your current directory.

Probably a good idea to add "-acl" to both create and extract commands
if your filesystem supports ACLs (Resierfs, XFS, JFS).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.kalamazoolinux.org/pipermail/novices/attachments/20050822/66739fb5/attachment.bin


More information about the Novices mailing list