copy files created in one folder to multiple other folders on linux

Posted by Keith on Server Fault See other posts from Server Fault or by Keith
Published on 2011-01-13T04:08:50Z Indexed on 2011/01/13 4:55 UTC
Read the original article Hit count: 235

Filed under:
|
|
|

I'm looking for a way to copy photos that are uploaded to one folder to many other folders and visa versa.

Example: a photo is uploaded to folder 1, it is then copied to folders 2-5. And if a photo is uploaded to folder 2 it is copied to folders 1 and 3-5.

I'm running CentOS 5. All of these folders are on the same server.

I came across another post on here that talked about incron, but that type of programming is over my head.

© Server Fault or respective owner

Related posts about linux

Related posts about centos