Web Hosting Talk







View Full Version : help with spliting a .tar file


the_go_453
04-14-2007, 08:35 PM
Hi,
I need help with splinting a 11GB file into 2 smaller .tar(6.5GB each) files so that i can transfer over to my VPS and extract without webspace problems. On my vps, there is only 17 GB of space :S So I want to extract part 1 first, then when prompted, give part 2, but I'll delete part 1 before part 2 starts extracting.

edit: in SSH of course

Thanks!

horizon
04-14-2007, 10:44 PM
These instructions should help you start:

http://www.wlug.org.nz/TarNotes

;)

ISPserver
04-15-2007, 09:30 AM
You can do it with one command.

$tar zcf - my_dir | ssh root@82.146.1.1 tar zxf - -C /root

It command compress directory my_dir and redirect output to tar on server 82.146.1.1. And remote server extract my_dir to /root directory. After all I have cope my_dir on server 82.146.1.1 with path /root/my_dir