set up a watch folder or rsync

Issues related to applications and software problems
Post Reply
robertw
Posts: 189
Joined: 2012/04/25 13:26:59

set up a watch folder or rsync

Post by robertw » 2017/08/23 15:19:05

hi all,

i have a folder on my linux server and i have created a new folder on the same linux server so its like this -

old folder - /mnt/ceta_invoices_2

new folder - /mnt/ceta_invoices_3

i want to be able to watch anything new that goes in " /mnt/ceta_invoices_2" to go straight away ie copy to "/mnt/ceta_invoices_3"

is it best to set up an rsync on a crontab for this or use the inotifywait command?

many thanks,

rob

robertw
Posts: 189
Joined: 2012/04/25 13:26:59

Re: set up a watch folder or rsync

Post by robertw » 2017/08/23 16:38:45

what about incrontab, do you know about that

Post Reply