4 FileSync's main purpose is to synchronize two directories with each other.
5 However it's quite flexible, for example its simulation mode could be used
6 to make a CRC comparison of 2 directories, without actually overwriting
9 there are several rules which decide what has to copied
12 - older modification time
13 - newer modification time
16 Additionally it has an operation mode that takes a 3rd directory parameter
17 which is used to store the differences. if this parameter is not used,
18 filesync will just use the destination directory instead.
19 this mode can be used to create incremental backups, or e.g. to
20 create an archive of changed files as a patch. using unionfs-fuse or aufs
21 leads to even more interesting usecases...
23 please simply run the filesync command without arguments to see the full
24 list of possible switches and features, and to learn about its usage.
31 git clone https://github.com/rofl0r/libulz lib
32 git clone https://github.com/rofl0r/filesync
33 git clone https://github.com/rofl0r/rcb
34 export PATH=$PATH:/tmp/filesync-0000/rcb
35 ln -s /tmp/filesync-0000/rcb/rcb.pl /tmp/filesync-0000/rcb/rcb
37 CC="musl-gcc -static" CFLAGS="-O0 -g -Wall -Wextra" rcb filesync.c