[SOLVED] how to untar a tar.gz file on another machine
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[SOLVED] how to untar a tar.gz file on another machine
Hi,
I have a 50gb of file.tar.gz. I cannot untar it on the same machine as the space is very low.
How can I untar the file on some other machine in the same network, without moving the original file to that machine.
Thanks
Kiran
Last edited by kiranonlinuxque; 09-13-2012 at 08:08 AM.
You could launch the command from the other machine with some directory on that other machine as a target but then you will have to transfer a much heavier load than that of the original file.
So either move the original file on a physical support or through the network, with wget or rsync.
Maybe I am lacking of imagination, so I'd be glad to recognize I was wrong if that's the prize I have to pay to learn something
EDIT 2: Another option would be to use network shares. Then you could mount the directory containing the big archive on the receiving machine and just do a regular "tar xf file.tar.gz". NFS or SMB/CIFS would be obvious options for this. Alternatively could still use ssh via SshFS/Fuse or perhaps fish:// in a file manager like Dolphin and then use Ark to unpack.
Just as an F.Y.I. tar pipes involving BSD tar would let you do really funky stuff like copy the contents of a gzip compressed tar on one machine and convert on the fly to another format, say a xz compressed cpio file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.