[PATCH][RFC] space saving incrementals
Dave Dykstra
dwd at bell-labs.com
Tue Mar 12 05:41:07 EST 2002
On Fri, Mar 08, 2002 at 03:05:14PM -0800, jw schultz wrote:
> On Fri, Mar 08, 2002 at 03:45:04PM -0600, Dave Dykstra wrote:
> > I like link-dest, and the "-" for exclude-from/include-from was already
> > something I was planning to add one of these days along with the
> > --files-from option I still plan to write, but --compare-perms confuses
> > me. Can you give examples of when you need it?
> >
> > - Dave Dykstra
>
> sequence of commands:
> admin# rsync /project /vault/monday
> admin# chmod 666 /project/somefile
> admin# chown bin /project/someotherfile
> admin# rsync --link-dest=/vault/monday /project /vault/tuesday
>
> Now /vault/monday/somefile has perms of 666 and
> someotherfile is owned by bin. I cannot restore the perms
> from /vault/monday. That info is lost. /vault/monday no
> longer is an accurate representative of what existed when it
> was created.
>
> With --compare-perms somefile and someotherfile will not be
> linked between monday and tuesday even though the contents
> haven't changed.
>
> compare-perms only makes sense when you are using link-dest.
Why not just always do --compare-perms functionality with --link-dest? I'd
rather not have more hard-to-explain options if they can be avoided.
- Dave Dykstra
More information about the rsync
mailing list