Displaying 1 result from an estimated 1 matches for "lastimg".
2007 Jan 23
1
--link-dest copying modified files
...is using rsync with --link-dest pointing to the last good image.
This creates images with hardlinks to unmodified files. So far so good.
Now I want to create a "current" filetree with hardlinks pointing to the
last image.
rsync -vaH --delete --stats --numeric-ids -x --link-dest=/path/to/lastimg /path/to/lastimg /path/to/current
This works except when an existing file has been modified and is now
"new" (and not the n'th hardlink) in the image. This file is copied to
the "current" directory. A hardlink pointing to the file in lastimg is
not created.
If a new file h...