watchitmove

Move a watched file

watchitmove

Copy a file to another location when it changes

Install globally

npm install -g watchitmove

In current working directory

watchitmove -w /var/log/system.log

Specify out path

watchitmove -w /var/log/system.log -o ~/dump

Custom watch interval (miliseconds)

watchitmove -w /var/log/system.log -o ~/dump -i 500
watchitmove -h

Use Github Issues

MIT