Can I get rsync to delete missing files first?
Matt McCutchen
matt at mattmccutchen.net
Wed Sep 16 20:42:11 MDT 2009
On Thu, 2009-09-17 at 14:41 +1200, Allistar wrote:
> I am backing up a remove partition which is 38Gb onto a local partition
> which is 40Gb. Rsync is complaining that I have run out of disk space on
> the local partition, and I can tell that this would not happen if local
> files that are missing in the remote system were deleted BEFORE copying
> down new files.
>
> I note there is a --delete-after option, but is there a --delete-before
> option?
Yes, there is!
--
Matt
More information about the rsync
mailing list