[Ilugc] about tar

  • From: askgopal@xxxxxxxx (Gopalarathnam V.)
  • Date: Tue, 06 Apr 2004 11:15:01 +0530

The command is normally used by sysadmins to copy (uproot) an entire
directory tree under the current directory to a different location.

For example, to copy all files (and directories) from /usr/src
to /usr/local/src, you would do:

(cd /usr/src && tar -cf - .) | (cd /usr/local/src && tar -xvpf -)

Commands executed between () parantheses are executed within a sub-shell
(so that they don't change the path for the current shell).

On Mon, 2004-04-05 at 21:58 -0700, T.K.Venu Gopal wrote:

hello
what does it mean, just explain
 
 tar cBvf - . | ( cd /marathi/marathi && tar xBVf - )

venugopal



-- 
  T.K.Venu Gopal
  v27076685@xxxxxxxxxxx

-- 
http://www.fastmail.fm - The professional email service
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with 
"unsubscribe <password> address"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

-- 

Gopalarathnam V.



The question of whether computers can think is just like the question of
whether submarines can swim.
                -- Edsger W. Dijkstra


Other related posts: