ayourtch / lsyncd

Automatically exported from code.google.com/p/lsyncd
GNU General Public License v2.0
0 stars 0 forks source link

feature-request - intelligent moving not only for ssh #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In case the target directory is local or on a network share, it would be really 
useful to use all file moving magic without rsyncssh.

The first lua code that I ever read was in lsyncd.lua and I managed to create a 
config file that does the same thing that rsyncssh does without putting ssh in 
between.
I did this by duplicating all the  default_rsyncssh code plus the exit code 
lists into the config file and hacked around a bit.

But probably there is a much much smarter way to do this...

Original issue reported on code.google.com by john.wy...@gmx.de on 7 Feb 2011 at 2:13

GoogleCodeExporter commented 9 years ago
This is indeed a quite sensible request. 

I'll add a new default configuration entity in the next release for local 
copying, which also doesnt need rsync. Just spawning directly /bin/cp, /bin/rm 
and /bin/mv. Much like the bash example config.

Original comment by axk...@gmail.com on 7 Feb 2011 at 2:19

GoogleCodeExporter commented 9 years ago
added in 2.0.3

Original comment by axk...@gmail.com on 25 Feb 2011 at 3:43