7.4 Gb file move from 1 server to the other

botic

Active Member
Jun 12, 2004
29
0
151
Hello,

I would like to transfer one huge file from one server to a new one. How is it possible?

thx
 

haze

Well-Known Member
Dec 21, 2001
1,544
3
318
I'd use scp in a screen session incase you get logged out. Could also nohup that puppy if you don't want to use screen.
 

r00t316

Active Member
Nov 29, 2003
34
0
156
if it is a file then do

$>cat filename | ssh -l root your.otherbox.com "cat > /where/your/wantfile/filename"

if it is a directory

tar -cf - directory | ssh -l root your.otherbox.com "cat > /path/directory.tar"