<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/bash/tags/rsync</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 12:27:46 GMT</pubDate>
<item>
<title>(Bash) rsync backup - bionic</title>
<link>http://snipplr.com/view/66834/rsync-backup/</link>
<description><![CDATA[ <p>Incremental compressed copy/backup</p> ]]></description>
<pubDate>Tue, 21 Aug 2012 20:40:38 GMT</pubDate>
<guid>http://snipplr.com/view/66834/rsync-backup/</guid>
</item>
<item>
<title>(Bash) Linux backup script using rsync and hard-links - _reydin_</title>
<link>http://snipplr.com/view/65927/linux-backup-script-using-rsync-and-hardlinks/</link>
<description><![CDATA[ <p>This script will do a daily backup of directories. If the files has not changed then it creates a hard-link to the file. If the file has changed then it will copy the new file. The backup is not much larger than the directories being backed up.</p> ]]></description>
<pubDate>Wed, 04 Jul 2012 01:00:19 GMT</pubDate>
<guid>http://snipplr.com/view/65927/linux-backup-script-using-rsync-and-hardlinks/</guid>
</item>
<item>
<title>(Bash) Sync two paths with rsync via ssh - vigoncas</title>
<link>http://snipplr.com/view/47815/sync-two-paths-with-rsync-via-ssh/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 25 Jan 2011 05:28:58 GMT</pubDate>
<guid>http://snipplr.com/view/47815/sync-two-paths-with-rsync-via-ssh/</guid>
</item>
<item>
<title>(Bash) Recursively copy only files with certain extension with rsync - studioevoque</title>
<link>http://snipplr.com/view/47276/recursively-copy-only-files-with-certain-extension-with-rsync/</link>
<description><![CDATA[ <p>Useful for syncing only  MP3 or PDF files which are nested in a deep directory tree</p> ]]></description>
<pubDate>Mon, 17 Jan 2011 15:45:46 GMT</pubDate>
<guid>http://snipplr.com/view/47276/recursively-copy-only-files-with-certain-extension-with-rsync/</guid>
</item>
<item>
<title>(Bash) rsync over ssh - manuelstofer</title>
<link>http://snipplr.com/view/29604/rsync-over-ssh/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 11 Mar 2010 10:18:53 GMT</pubDate>
<guid>http://snipplr.com/view/29604/rsync-over-ssh/</guid>
</item>
<item>
<title>(Bash) Simple rsync backupscript. - berkes</title>
<link>http://snipplr.com/view/26876/simple-rsync-backupscript/</link>
<description><![CDATA[ <p>This script pulls in files with [rsync](http://samba.anu.edu.au/rsync/), storing them locally with hardlinks for unchanged, and real files for changed -files.

* KEY=$HOME/.ssh/id_dsa_passwdless -- an id_rtsa key without a password. --adding this to remote authorized keys must be done with care: you will prbably want to whitelist one IP-adress.
* RHOST=ssh.example.com -- the host where to connect to using ssh, or rsync.
* RUSER=example-username -- the username on the host. Must have _read_ access in the SOURCE dit (see below).
* LPATH=$HOME/Archive/example-com/ -- where to place the backups
* RPATH=/var/www/example-com/ -- the to-be-backuped dir. 

You probably want to add this as script (`backup_example-com.sh`) in `~/bin`, or any other directory available in `$PATH`. And then add it to crontab.

See a howto here: http://troy.jdmz.net/rsync/index.html</p> ]]></description>
<pubDate>Fri, 22 Jan 2010 16:05:54 GMT</pubDate>
<guid>http://snipplr.com/view/26876/simple-rsync-backupscript/</guid>
</item>
<item>
<title>(Bash) Synchronize FAT32 and rest-of-the-world directories with rsync - wdso</title>
<link>http://snipplr.com/view/26621/synchronize-fat32-and-restoftheworld-directories-with-rsync/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 17 Jan 2010 14:36:52 GMT</pubDate>
<guid>http://snipplr.com/view/26621/synchronize-fat32-and-restoftheworld-directories-with-rsync/</guid>
</item>
<item>
<title>(Bash) Copy a file preserving path - therobot</title>
<link>http://snipplr.com/view/26327/copy-a-file-preserving-path/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 12 Jan 2010 12:39:28 GMT</pubDate>
<guid>http://snipplr.com/view/26327/copy-a-file-preserving-path/</guid>
</item>
<item>
<title>(Bash) Rsync boiler plate script - nate63179</title>
<link>http://snipplr.com/view/23805/rsync-boiler-plate-script/</link>
<description><![CDATA[ <p>Great script found on http://www.scrounge.org/linux/rsync.html. Useful for creating boilerplate backup scripts</p> ]]></description>
<pubDate>Thu, 26 Nov 2009 15:40:31 GMT</pubDate>
<guid>http://snipplr.com/view/23805/rsync-boiler-plate-script/</guid>
</item>
<item>
<title>(Bash) Rsync: sync local files to remote - nate63179</title>
<link>http://snipplr.com/view/22392/rsync-sync-local-files-to-remote/</link>
<description><![CDATA[ <p>Simple rsync command to synchronize two directories. 

# Other useful options
-h, --human-readable
-C, --cvs-exclude = excludes common source file endings
--delete
-z, --compress
--exclude=PATTERN
--compare-dest=DIR 
This option instructs rsync to use DIR on the destination machine as an additional hierarchy to compare destination files against doing transfers (if the files are missing in the destination directory). If a file is found in DIR that is identical to the sender's file, the file will NOT be transferred to the destination directory. This is useful for creating a sparse backup of just files that have changed from an earlier backup.</p> ]]></description>
<pubDate>Tue, 03 Nov 2009 11:05:43 GMT</pubDate>
<guid>http://snipplr.com/view/22392/rsync-sync-local-files-to-remote/</guid>
</item>
<item>
<title>(Bash) ZHAW UI08 Folder Sync Bash - JuanRomeroAbelleira</title>
<link>http://snipplr.com/view/21848/zhaw-ui08-folder-sync-bash/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 25 Oct 2009 16:54:20 GMT</pubDate>
<guid>http://snipplr.com/view/21848/zhaw-ui08-folder-sync-bash/</guid>
</item>
<item>
<title>(Bash) Copying files faster with rsync on linux - godstroke</title>
<link>http://snipplr.com/view/21816/copying-files-faster-with-rsync-on-linux/</link>
<description><![CDATA[ <p>r : recursive
v: verbose
--progress : shows progress with percentage</p> ]]></description>
<pubDate>Sun, 25 Oct 2009 11:46:58 GMT</pubDate>
<guid>http://snipplr.com/view/21816/copying-files-faster-with-rsync-on-linux/</guid>
</item>
<item>
<title>(Bash) rsync - joe-bbb</title>
<link>http://snipplr.com/view/19418/rsync/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 09 Sep 2009 06:56:59 GMT</pubDate>
<guid>http://snipplr.com/view/19418/rsync/</guid>
</item>
<item>
<title>(Bash) Synchronize two folders - Dorgendubal</title>
<link>http://snipplr.com/view/12694/synchronize-two-folders/</link>
<description><![CDATA[ <p>Useful to quickly backup a folder by synchronizing it to another partition/disk.</p> ]]></description>
<pubDate>Sat, 28 Feb 2009 22:28:39 GMT</pubDate>
<guid>http://snipplr.com/view/12694/synchronize-two-folders/</guid>
</item>
<item>
<title>(Bash) updating remote website using ssh - Dorgendubal</title>
<link>http://snipplr.com/view/12691/updating-remote-website-using-ssh/</link>
<description><![CDATA[ <p>* _HOST_: remote host
* _PORT_: ssh port (default 22)
* _PATH_: remote path to synchronize</p> ]]></description>
<pubDate>Sat, 28 Feb 2009 21:55:41 GMT</pubDate>
<guid>http://snipplr.com/view/12691/updating-remote-website-using-ssh/</guid>
</item>
<item>
<title>(Bash) Synching two folders with rsync - narkisr</title>
<link>http://snipplr.com/view/9733/synching-two-folders-with-rsync/</link>
<description><![CDATA[ <p>This is useful for syncing two folders on different computers over ssh (the default transport of rsync).</p> ]]></description>
<pubDate>Fri, 14 Nov 2008 07:34:44 GMT</pubDate>
<guid>http://snipplr.com/view/9733/synching-two-folders-with-rsync/</guid>
</item>
<item>
<title>(Bash) Copy 2 directories with rsync and strip .svn - .cvs directories - vanne</title>
<link>http://snipplr.com/view/8947/copy-2-directories-with-rsync-and-strip-svn--cvs-directories/</link>
<description><![CDATA[ <p>Here's how to copy 2 directories and strip the .svn and .cvs nonsense, basically an export function, but locally</p> ]]></description>
<pubDate>Fri, 10 Oct 2008 21:39:20 GMT</pubDate>
<guid>http://snipplr.com/view/8947/copy-2-directories-with-rsync-and-strip-svn--cvs-directories/</guid>
</item>
<item>
<title>(Bash) DocBack - rubinsta</title>
<link>http://snipplr.com/view/8294/docback/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 10 Sep 2008 15:15:33 GMT</pubDate>
<guid>http://snipplr.com/view/8294/docback/</guid>
</item>
<item>
<title>(Bash) sync a file or dir to remote location - mandric</title>
<link>http://snipplr.com/view/4436/sync-a-file-or-dir-to-remote-location/</link>
<description><![CDATA[ <p>The -P handles partial transfers, I'm using this for big audio/video files.</p> ]]></description>
<pubDate>Sun, 30 Dec 2007 23:39:47 GMT</pubDate>
<guid>http://snipplr.com/view/4436/sync-a-file-or-dir-to-remote-location/</guid>
</item>
<item>
<title>(Bash) back up my thumb drive - noah</title>
<link>http://snipplr.com/view/2869/back-up-my-thumb-drive/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 15 Jun 2007 21:45:39 GMT</pubDate>
<guid>http://snipplr.com/view/2869/back-up-my-thumb-drive/</guid>
</item>
</channel>
</rss>