descriptionnone
repository URLhttps://github.com/rofl0r/filesync.git
ownerretnyg@gmx.net
last changeTue, 18 Jun 2019 19:01:06 +0000 (18 20:01 +0100)
last refreshSat, 27 Apr 2024 10:55:15 +0000 (27 12:55 +0200)
content tags
add:
README
FileSync README
---------------

FileSync's main purpose is to synchronize two directories with each other.
However it's quite flexible, for example its simulation mode could be used
to make a CRC comparison of 2 directories, without actually overwriting
anything.

there are several rules which decide what has to copied
- existance
- filesize
- older modification time
- newer modification time
- different CRC

Additionally it has an operation mode that takes a 3rd directory parameter
which is used to store the differences. if this parameter is not used,
filesync will just use the destination directory instead.
this mode can be used to create incremental backups, or e.g. to 
create an archive of changed files as a patch. using unionfs-fuse or aufs
leads to even more interesting usecases...

please simply run the filesync command without arguments to see the full
list of possible switches and features, and to learn about its usage.

BUILD
-----
cd /tmp
mkdir filesync-0000
cd filesync-0000/
git clone https://github.com/rofl0r/libulz lib
git clone https://github.com/rofl0r/filesync
git clone https://github.com/rofl0r/rcb
export PATH=$PATH:/tmp/filesync-0000/rcb
ln -s /tmp/filesync-0000/rcb/rcb.pl /tmp/filesync-0000/rcb/rcb
cd filesync
CC="musl-gcc -static" CFLAGS="-O0 -g -Wall -Wextra" rcb filesync.c
shortlog
2019-06-18 rofl0rfix 2 bugs with exclude handlingmaster
2019-06-18 rofl0radd support for directory-specific exclude file
2019-06-18 rofl0rimprove exclude directory handling with realpath
2019-06-18 rofl0ruse rcb2
2018-10-14 rofl0rimplement --exclude=list-of-directories
2018-10-14 rofl0rprint also filename when glob fails
2018-10-11 rofl0rprint error if glob fails
2018-10-11 rofl0ruse log_perror consistently
2018-10-11 rofl0radd helper prog to delete a list of files
2018-10-11 rofl0radd -p option to only print filenames
2018-03-27 rofl0rfix build error on FreeBSD due to S_IFMT
2018-03-27 rofl0rdisplay new long options of libulz for glob/script...
2018-03-27 rofl0rupdate copyright
2018-03-27 rofl0rfix getting stuck on trying to copy fifo special files
2018-03-27 rofl0rfix implicit decl of ulz_*printf functions
2016-05-24 rofl0rwarn only about newer files if -w flag is given
...
heads
4 years ago master