Scp background execution

To execute scp in background add ampersand:

scp -r /path/on/local_pc/ [email protected]:/path/on/server/  &

👆Also please reember, so speedup scp if you copy folder with several files instead of one file use tar + ssh:

tar -czf - /path/on/local_pc/ | ssh [email protected] tar -xzf - -C /path/on/server/

#ssh #scp
menu 0
Ivan Borshchov profile picture
Nov 17, 2020
by Ivan Borshchov
Did it help you?
Yes !

Best related

Other by Ivan Borshchov