How do you install and use rsync to synchronize files and directories from one location (or one server) to another location? - A common question asked by new sys admin.rsync is a free software computer program for Unix and Linux like systems which synchronizes files and directories from one location to another while minimizing data transfer using delta encoding when appropriate. An important feature of rsync not found in most similar programs/protocols is that the mirroring takes place with only one transmission in...
Friday, April 19, 2013
File transfer in background using SCP
For scping large files, it is best to let them run in the background.
follow the steps below to transfer files using SCP command in the background
1) execute the normal scp command, eg:
# scp localfile.tar.bz2 user@server.ch:/path/on/server/
2) after confirming the key and authentificating (if necessary), you can "stop" the job by pressing : ctrl + Z
[1]+ Stopped scp localfile.tar.bz2 user@server.ch:/path/on/server/
3) then you can proceed the job in the background by typing
# bg[1]+ scp localfile.tar.bz2 user@server.ch:/path/on/server/...