>> My current one off favourite.
>>
>> cd /mnt/cdrom; tar -cvf - . | (cd /mnt/scratch/pub/2/engima;tar -xf - )
>
>Does this syntax for tar actually work? What version of tar are you
>using? When I try it I get:
> jcunning@bigbear:~ > tar -zft fc-v2.0.tgz
> tar: You must specify one of the `-Acdtrux' options
> Try `tar --help' for more information.
>
>but
> tar zft fc-v2.0.tgz
>works fine.
Actually it works better this way:
cd /mnt/scratch/pub/2/engima
(cd /mnt/cdrom; tar cf - .)|tar xvf -
You DO NOT want the v option as part of the tar create, as it will pass
that info to the extracting tar and it will barf at you about that.
I do the above all the time to move stuff between directories.
MB
--
e-mail: [EMAIL PROTECTED] It is God's job to forgive bin Laden.
It is our job to set up the meeting.
U.S. Marine Corp.
Visit - URL: http://www.vidiot.com/ (Your link to Star Trek and UPN)
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list