This commit is contained in:
Axel Kittenberger 2010-11-14 09:38:44 +00:00
parent 6ae0a45ffa
commit 71984d8bc6
4 changed files with 17 additions and 17 deletions

View File

@ -1,14 +1,15 @@
----
-- Auto "magic" image converter directory.
-- Lsyncd user-script that creates a "magic" image converter directory.
--
-- This lsycnd script will automatically convert all images that are placed
-- This configuration will automatically convert all images that are placed
-- in the directory 'magicdir' all resulting images are placed in the same
-- directory!
--
-- Be sure to mkdir 'magicdir' first.
--
-- Fileformats: .jpg .gif .png
-----
-- Fileformats: .jpg .gif .png
--
local formats = { jpg=true, gif=true, png=true, }
convert = {

View File

@ -1,12 +0,0 @@
----
-- User configuration file for lsyncd.
--
-- Simple example for default rsync.
--
settings = {
statusFile = "/tmp/lsyncd.stat",
statusIntervall = 1,
}
sync{default.rssh, source="src", host="localhost", targetdir="dst/"}

View File

@ -8,5 +8,9 @@ settings = {
statusIntervall = 1,
}
sync{default.rsync, source="src", target="mooooooooooooooooooooo.com:dst/", excludeFrom="exclude"}
sync{
default.rsync,
source="src",
target="/home/user/dst/",
}

7
examples/lrsyncssh.lua Normal file
View File

@ -0,0 +1,7 @@
----
-- User configuration file for lsyncd.
--
-- Simple example for default rsync, but executing moves through on the target.
--
sync{default.rsyncssh, source="src", host="localhost", targetdir="dst/"}