On Friday 07 March 2014 04:22:04 pm Aaron Read wrote: > I can get gRsync to work but I don't know how to *automate* the > scanning/copying to happen constantly,
cron as often as every minute. If you truly want constantly, put it in an endless loop such as a while true; do rsync -options etc. done Since true is designed to always return true, this creates a never ending loop. As soon as the command finishes, the loop repeats, rerunning the command immediately. These things are generally not advised, as they can create quite a processor load. > nor how to make it so it only copies newly-arrived files, so that's not of > much use. -u which will grab any file that has a newer timestamp OR a different size or --ignore-existing This tells rsync to skip updating files that already exist on the destination (this does not ignore existing directories, or nothing would get done). This option is a transfer rule, not an exclude, so it doesn't affect the data that goes into the file-lists, and thus it doesn't affect deletions. It just limits the files that the receiver requests to be transferred. --ignore existing will ensure that the already-handled files don't get tweaked (which avoids a change in permissions on the hard-linked files). This does mean that this option is only looking at the existing files in the destination hierar- chy itself. -- Cowboy http://cowboy.cwf1.com It is only the great men who are truly obscene. If they had not dared to be obscene, they could never have dared to be great. -- Havelock Ellis _______________________________________________ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev