Closed GoogleCodeExporter closed 9 years ago
hi
i Followed the trunk/examples/lpostcmd.lua and get the hint, thanks
Original comment by chungyan5@gmail.com
on 8 Jun 2011 at 2:51
The major problem I see with adding this as simple hooks is I don't know how it
should handle error, cause it makes a whole matrix of what can fail,
pre-command, the command itself, post-command.
I think the simpelest thing is to make a little shell script, that is called by
Lsyncd to make pre and post commands. Just take care not to slurp stdin, since
Lsyncd uses this to give rsync filter lists.
Original comment by axk...@gmail.com
on 11 Jun 2011 at 2:25
Original issue reported on code.google.com by
chungyan5@gmail.com
on 27 May 2011 at 7:44