Hi, and thx for your answer.
My script is quite simple
Code:
if [ -e /volume1/application/automate/rsyncjob.lock ]
then
exit
fi
touch /volume1/application/automate/rsyncjob.lock
rsync -auv ******@*****.*******.com:/media/sde1/home/blackmessor/priv /volume1/telecharger
#delete lock file at end of your job
rm -f /volume1/application/automate/rsyncjob.lock
So , my concern is i have two servers.
Server SOURCE and server DESTINATION
My script works well, and it synchronises SOURCE to DESTINATION
but when i get my files in my DESTINATION server (which is a local server in my home), i would like to move this files to put them in my own folders to organize them.
But if i do that, the next time the sript will be launch, rsync will detect the file is not on DESTINATION anymore (as i moved it) and will resynchronize it again.
I want to avoid that, like if it could remember (I already synchronise this file once, so i don't do it again, even if it disapear from DESTINATION)
I think it's not possible just with rsync, but maybe it is possible to my script to add each file synchronise with rsync in the exclusion file of rsync ???? Just an idee
Thx
Bookmarks