[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: scp question (scp and exit shell)



On Thu, Jan 10, 2002 at 04:34:34PM -0800, Mike Egglestone wrote:
:Hi all,
:
:I would like to copy a huge file from one server to another.
:but because it takes a long time, I would like to exit
:my remote shell that I used to login and run the scp command.
:
:I have tried with the " & " symbol after the command but no go.
:ex.
:scp /home/user/file.txt bigserver:/home/user2/ &

A theory...

start the scp:
scp /home/user/file.txt bigserver:/home/user2/ 

then after authenticating and starting the file transfer CTRL-Z to
stop the scp then:

user@host$ bg

this will restart the last job in the background.

-Jon



Reply to: