terminate prematurely when target disk is full
[rofl0r-filesync.git] / README
blob78498daca1a486e13180d8d526b08a372b47bdaf
1 FileSync README
2 ---------------
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
7 anything.
9 there are several rules which decide what has to copied
10 - existance
11 - filesize
12 - older modification time
13 - newer modification time
14 - different CRC
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.
26 BUILD
27 -----
28 cd /tmp
29 mkdir filesync-0000
30 cd filesync-0000/
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
36 cd filesync
37 CC="musl-gcc -static" CFLAGS="-O0 -g -Wall -Wextra" rcb filesync.c