[ale] tar options - HELP!

Joe Knapka jknapka at earthlink.net
Mon Sep 11 11:34:27 EDT 2000


tar strips leading / from pathnames when building an
archive. Have you tried (from /)

tar xvf /dev/st0 usr/local

?

-- Joe

Jeffrey B Layton wrote:
> 
> Hello,
> 
>    I created a tar archive on tape with the command:
> 
> tar cvfl /dev/st0 /home /opt /usr/local
> 
> to back the directories listed. Now, how do I extract
> /usr/local/* from the archive? I've tried
> 
> tar xvf /dev/st0 /usr/local
> tar xvf /dev/st0 /usr/local/*
> 
> and several other variations with no success. I've
> looked at the man pages, but it seems that it should
> work (I did a tar tf /dev/st0 | grep file to locate a
> particular file, so I know th archive is intact).
> 
> TIA,
> 
> Jeff Layton
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.

-- 
*** Joseph Knapka ***
In any formula, constants (especially those obtained from handbooks)
are to be treated as variables.
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list