helpfulstuff.org Logo





Home arrow Linux arrow Synchronizing a Local Folder with a Folder on a Remote Server Using rsync Make Text BiggerMake Text SmallerReset Text Size
Synchronizing a Local Folder with a Folder on a Remote Server Using rsync PDF Print E-mail
Written by Trevor Gontz   
Wednesday, 19 November 2008

The following script will synchronize a folder on your local machine with folder on a remote server. This script should be stored and run from your local machine.

#!/bin/bash
rsync -aze ssh remoteusername@remoteserver:/home/useraccount/path/to/remote/folder/ /path/to/local/folder
Last Updated ( Wednesday, 19 November 2008 )
 
Next >
Linux Links

Major Distributions