SidB Posted June 6, 2005 Posted June 6, 2005 Help please, how can I make two folders synchronize automatically (to make it add new files in dest folder automatically, after I create these files in source folder)?Thanks
Martin Zugec Posted June 6, 2005 Posted June 6, 2005 Hi! Sorry for later response, didnt notice you already posted. You must use /MIR switch (mirror), ideally with scheduled task (check every few minutes)
SidB Posted June 6, 2005 Posted June 6, 2005 (edited) OK the /MIR that I already tried few days ago will make exact copy of source folder, whereas without any switch will only add the files of source to dest. Correct me if I'm wrong.So the only way for it to make copy automatically is to schedule it? Isn't there a way to make it copy only when I make change to source folder or something like that?Another thing I don't understand (nothing to do with robocopy): I don't how desktop works exactly, but what I think I've understodt yet is that it take icons from two folders called "desktop", one from Documents & Settings>All Users and other from Documents & Settings>User name. Is there a way to add icons located in a third location (without using robocopy for this one)?Thanks again from helping Edited June 6, 2005 by SidB
Martin Zugec Posted June 7, 2005 Posted June 7, 2005 Robocopy is creating exact mirror of location. There are two important things you must set - Source and Target. If using mirror, target is modified to match the source. So if you delete something from source, it will be deleted in target, if you modify something in source, it will be modified in target... So that is why I dont see a schedule as problem - it will just check source and target forlders and if there was no change, it will skip files, so it wont slow down your pc. There is also switch /MOT:m, which will force running robocopy ever m minutes, but I never used it. Also you could be interested in trying /MON:n, which is looking for changes (for example setting n to 2 will only run robocopy in case there were two changes made to source folder)About icons, you are right, they are taken from desktop folders in documents and settings and there isnt way to include third location - you must workaround by using (for example) mirror.
SidB Posted June 7, 2005 Posted June 7, 2005 (edited) Thank you so much for your help Martin, what I learnt from you will resolve many of my problems. I will study the help file of robocopy to be able to do exactly what I want to do, for each folder I have to mirror/syncThanksSid Edited June 7, 2005 by SidB
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now