Mimic is a simple file cloner. Any changes made to the source directory will be reflected in the destination directory. It has handling for all system events and will make changes accordingly.
Using mimic is simple:
Install it using the makefile.
make all
Basic usage:
mimic -w "sourcedir:destinationdir"
This will immediately clone all files and directories in 'sourcedir' into 'destinationdir'. It will then watch 'sourcedir' for any changes.
Mimic supports colored output. Simply start it with the color flag.
mimic -c -w "sourcedir:destinationdir"
*(only tested in GNOME terminal, but should work in most bash)
By default mimic only outputs error and file creation events. For more information try the -v
flag.
mimic -v -w "sourcedir:destinationdir"
To have it only output errors, use the -q
flag.
mimic -q -w "sourcedir:destinationdir"