Take the 2-minute tour ×  I have a statistical application which
runs every minute and creates charts accordingly.  In order to
make these charts available to other users, I need to copy the
whole folder containing the charts and paste it to a shared
folder where other users can see the contents.  How can I
automate this process so that e.g each 5 minutes the files and
folders are updated?  share|improve this question perhaps you
don't need to copy those files.... –  woliveirajr Oct 10 '12 at
14:36  3 Answers 3  up vote 3 down vote accepted  This sounds
like something which could perhaps be perfectly solved with
rsync. In its simplest form it can be called like this  rsync
sourceFolder destinationFolder  Called in a crontab every 5
minute:  */5 * * * * /usr/bin/rsync sourceFolder
destinationFolder  For options, permissions, exlude of special
files or directories see man rsync.  share|improve this answer I
would recommend rsync -au as the default options (preserve all
attributes and only overwrite older files)