Well, for me it seems this is quite unnecessary since it is already
implemented elsewhere: "rm -rf upload_dir".
Even the --remove-sent-files seems redundant, since removing files can
always be done with "rm", can't it?
Even when using complex rules to select the files, one can parse the
output of rsync and fed the file list to "rm".
Rsync has already too many options, it would be nice to reduce them, not
to increase their number unnecessaryly.
Cheers,
Manuel.
Matt McCutchen wrote:
On Wed, 2005-11-09 at 13:30 -0700, Scott Edwards wrote:
Are there any plans to add support to rsync for moving files?. I'd
like to remove files+directories after they're uploaded. For the time
being, I'll use a workaround or do w/o.
There's a --remove-sent-files option, but it removes only regular files
and symbolic links that do not exist or differ on the receiver (i.e.
those that actually had to be sent). I would also like an option that
removes every file in the transfer from the sender, whether or not it
was updated on the receiver.
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html