Guard against destination = existing directory

2013-12-03 Thread Andre Majorel
Trying to use rsync to make sure that _dest_ is a regular file with the same content as file _source_. If _dest_ already exists and is a symlink, FIFO or device file, rsync deletes it and creates a regular file in its place. Good. If _dest_ already exists and is a directory, rsync creates _dest_/

Re: Unconditionally transfer files

2011-06-19 Thread Andre Majorel
On 2011-06-18 16:26 -0400, Brian K. White wrote: > On 6/18/2011 8:31 AM, Andre Majorel wrote: > > >Is there a way to make rsync unconditionally transfer files, > >i.e. create them anew even if the target already exists and is > >identical to the source ? > > >

Unconditionally transfer files

2011-06-18 Thread Andre Majorel
Is there a way to make rsync unconditionally transfer files, i.e. create them anew even if the target already exists and is identical to the source ? rsync -I looks closer but still avoids transferring the files. -- André Majorel http://www.teaser.fr/~amajorel/ -- Please use reply-all for most

Exclude file system by type

2010-12-24 Thread Andre Majorel
Is there a way to exclude (not recurse into) filesystems by type ? E.G. skip all sshfs mounts in the source tree ? Merry Christmas all. -- André Majorel http://www.teaser.fr/~amajorel/ -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options:

Re: Recommended way for initial backup before rsync calls

2007-09-03 Thread Andre Majorel
On 2007-09-03 16:34 +0200, [EMAIL PROTECTED] wrote: > What can you recommend to create the initial backup of a > partition before calling rsync > (under Linux, 100 GB, 10M files, only normal files and > some soft links)? > > (Using rsync takes too long for this initial copy.) > > Here are some c

Re: moderation?

2007-08-28 Thread Andre Majorel
On 2007-08-28 09:59 -0400, Matt McCutchen wrote: > That said, I do think it would be appreciated by all subscribers > if spam were controlled better by the rsync list. Users get to choose between a) having to subscribe once before you can post and b) getting spam through the list every day, sever

Re: Rsync stops randomly (using vanished files bash script)

2007-08-24 Thread Andre Majorel
On 2007-08-24 12:02 +0200, Samuel Vogel wrote: > Andre Majorel schrieb: > > >If you have directories with many files, rsync becomes a memory > >hog. I've had it bring down a 1-GB machine while copying a 10-GB > >news spool. > > Thanks for the reply. Do you mean o

Re: Two Qustions: RSync Server load? Atomic Updates?

2007-08-22 Thread Andre Majorel
On 2007-08-22 11:38 -0700, doxburger wrote: > 2) I will need to update my RSync server on a regular basis. I have > been using rsync to send data to the rsync server (makes sense > right?). Now and then a user has been downloading from the rsync > server, as I am updating the data set, and they

Re: Looking inside device files

2007-08-22 Thread Andre Majorel
On 2007-08-21 05:55 -0400, Matt McCutchen wrote: > On 8/20/07, Andre Majorel <[EMAIL PROTECTED]> wrote: > > Is there a way to make rsync look inside device files ? The goal > > is to copy the contents of a block device to a regular file > > incrementally. > > >

Looking inside device files

2007-08-20 Thread Andre Majorel
Is there a way to make rsync look inside device files ? The goal is to copy the contents of a block device to a regular file incrementally. Short of that, even just getting it to dump the block checksums of the content a block device would help (if I know which blocks are out of sync, I can fix th

Not fail if can't set permissions ?

2006-10-09 Thread Andre Majorel
I'm adding files to an existing tree via rsync -aO. Some of the directories on the remote are owned by a different user. I have rwx permissions on them but when rsync tries to set the permissions for those directories, it fails and exits with a non-zero status. This is expected but it complicates