On Thu, 18 Oct 2001, Federico Sevilla III wrote:

> (cd / && tar -c root) || (cd /newdir && tar x)
>
Actually you only need a single pipe.

(cd /source/directory && tar cf - . ) | (cd /dest/directory && tar xvfp -)


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to