tar question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 9/4/05, Todd Cary <todd@xxxxxxxxxxxxxxxxxx> wrote:
> Basic tar question:
> 
> I have created a ar file with
> 
> tar -prvf /tmp/ib_backup.tar /opt/interbase/data/*
> 
> The file has been copied to another box and I want to untar the file into
> 
> /opt/interbase/data/
> 
> I am not sure about the syntax; how to specify where I want the data to
> be placed.
> 
> Here is my start of the command:
> 
> tar -xvf /tmp/ib_backup.tar                   #The tar file is in /tmp

You can always use the '-C' option to tar, which specifies the
destination directory.

Best regards
  Michael Boman

-- 
IT Security Researcher & Developer
http://proxy.11a.nu

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux