Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tar and directory information
- To: tlug@example.com
- Subject: Re: tar and directory information
- From: "Thomas O'Dowd" <tom@example.com>
- Date: Wed, 11 Apr 2001 17:50:23 +0900
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <20010411173006.A2440@example.com>; from wileyc@example.com on Wed, Apr 11, 2001 at 05:30:06PM +0900
- References: <20010411170258.F1F6.AKAMINE@example.com> <20010411173006.A2440@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <3-z2mC.A.knG.jnB16@example.com>
- Resent-Sender: tlug-request@example.com
- User-Agent: Mutt/1.2.5i
On Wed, Apr 11, 2001 at 05:30:06PM +0900, Christopher SEKIYA wrote: > On Wed, Apr 11, 2001 at 05:03:45PM +0900, Hector Akamine wrote: > > > tar -zcvf data.tgz /home/work/data > > "Doctor, it hurts when I do this!" > > "Well, then, don't do that." > > (cd /home/work/data; tar czvf /data.tgz .) If you are stuck needing something from the old archive you might just check the archive with tar tzvf data.tgz to see if you preserved the root / (at the beginning) (default doesn't preserve it). If not then you can for example untar somewhere else... example... mkdir -p /tmp/home/work/data (cd /tmp ; tar xzvf data.tgz) and all your data should be in /tmp/home/work/data. Better not to save your archives that way though, if you don't want to restore that way, like Chris said. Tom. -- Thomas O'Dowd Noop-de-Noop! tom@example.com http://www.nooper.com
- References:
- tar and directory information
- From: Hector Akamine <akamine@example.com>
- Re: tar and directory information
- From: Christopher SEKIYA <wileyc@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: XIM, kinput2 & Tk
- Next by Date: Re: XIM, kinput2 & Tk
- Prev by thread: Re: tar and directory information
- Next by thread: Re: tar and directory information
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links