Aleksey Tsalolikhin
2008-Feb-08 03:13 UTC
using rsync to move files - need "--delete-from-source" option
Hi. I need to move some files over the network. This is "In" folder synchornization, so they need to disappear from source once they are moved. Because of trust issues, these files must be pulled, not pushed. (Sucked into the internal network from the DMZ). It'd be slick if I could rsync them and then have them rsync delete the original files. Maybe that's outside rsync's scope... but it'd make this already powerful tool even more useful. Just thought I'd mention it. Best, Aleksey
Matt McCutchen
2008-Feb-08 03:17 UTC
using rsync to move files - need "--delete-from-source" option
On Thu, 2008-02-07 at 19:06 -0800, Aleksey Tsalolikhin wrote:> Hi. I need to move some files over the network. > > This is "In" folder synchornization, so they need to disappear from > source once they are moved.Rsync has an option to do this, called --remove-source-files , but it doesn't delete source directories. Matt