System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

copying directories using scp2

SOLVED
Go to solution
Manoj1
Advisor

copying directories using scp2

Hi all,

I want to copy content of one directory to another server using scp2. There are many files and it may take usually 10 hours or so.

If i come home my terminal become inactive and gets disconnected.
Can i start scp2 command with nohup so that it can continue even if my terminal gets disconnected ?
What are other options available ?

Thanks,
Manoj
2 REPLIES
Johnson Punniyalingam
Honored Contributor
Solution

Re: copying directories using scp2

>>>> Can i start scp2 command with nohup so that it can continue even if my terminal gets disconnected ?

Yes, you can use "nohup"

>>> What are other options available ?

# tar cvf onedir.tar /
# ftp another_server
put onedir.tar
bye

another server
# tar xvf onedir.tar
Problems are common to all, but attitude makes the difference
kemo
Trusted Contributor

Re: copying directories using scp2

let crontab run it for you in a specified time.