I hereby claim:
- I am perfectayush on github.
- I am perfectayush (https://keybase.io/perfectayush) on keybase.
- I have a public key ASDZ5c8dS6VQ9VYrkSzgi_y588A02LQbV0Fc09tIQ2fQpwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
scriptdir="/opt/lsyncd/" | |
file_mod_dir="/opt/lsyncd/tmp/modify" | |
file_del_dir="/opt/lsyncd/tmp/delete" | |
function split_path(filename) | |
local root, dir, basename | |
local i, j = filename:find("[^/]*$") | |
if filename:sub(1, 1) == "/" then | |
root = "/" | |
dir = filename:sub(2, i - 1) |