Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

Synchronize.sh (GPL)

Synchronize.sh helps you synchronize two directories on local and/or remote machines. It uses rsync to synchronize the first path specified to the second path specified. then it synchronizes the files in the other direction. The command-line path arguments uses the same syntax as rsync.

Synchronize.sh is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Usage

  Synchronize.sh "path 1" "path 2"
Where path is a local/network file/directory.

Attached File: Synchronize.sh (501 B)

Chieh Cheng
Mon, 25 Jun 2007 16:00:23 -0700

After deploying Synchronize.sh on many of my computer systems, the problem of eliminate obsolete or junk files became a problem. With Synchronize.sh distributing everything to multiple systems. To eliminate a single file means you have to delete the file from all of your computers. Otherwise, the file will be perpetuated by Synchronize.sh again.

I saw this problem when two system core dumps kept perpetuating, even though I thought I've deleted them from all computers (twice). Apparently, I must have forgotten about one or two computers in the distribution network.

Here is the next iteration of Synchonize.sh. This new version supports an exclude file. Simply put a "SynchronizeEliminate.txt" file in the same directory as the Synchronize.sh script. You can put file patterns in this exclude file so that files matching these patterns will not be synchronized. You can then delete them at will. Or run an automated delete script (there are several on this site).

Attached File: 1 - Synchronize.sh (836 B)

Chieh Cheng
Wed, 10 Oct 2007 22:05:36 +0000

Recently, I found a need to pass additional argument to rsync, through the Synchronize.sh script. So today, I have re-written Synchronize.sh, which allows you to specify additional command-line arguments, in addition to the "-auv" and the "--exclude-from" flags that are already passed to rsync..

Usage

      Synchronize.sh "path 1" "path 2" [args]

Where path is a local/network file/directory.
Where args are arguments to pass to rsync.

Attached File: 2 - Synchronize.sh (1 KB)

Chieh Cheng
Wed, 27 Feb 2008 02:17:47 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

Title: SynchronizeDelete.sh (GPL)
Weblog: Cynosure.X International
Excerpt: After happily using Synchronize.sh and its associated SynchronizeEliminate.txt file for the past year and a half, I now have a lot of unnecessary files scattered among my synchronized computers throughout the world. Although the SynchronizeEliminate.txt prevents those files from being transmitted ba . . .
Tracked: Wed, 27 Feb 2008 02:11:51 +0000

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 10 + 3?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

33 Users Online

Hacking Digital Cameras
Fun for Photographers



Amazon Associate

Copyright © 1996 - 2024. All Rights Reserved.