Jump to content

Possible for a folder having files of anothers?


Recommended Posts

Posted

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


Posted (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 by SidB
Posted

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.

Posted (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/sync

Thanks

Sid

Edited by SidB

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...