

- #Robocopy sync folders how to
- #Robocopy sync folders manual
- #Robocopy sync folders Pc
- #Robocopy sync folders windows 8
I'm looking forward to trying Windows 8 to see if this gets better. I periodically run a script against the copy on the NAS box to remove extended attributes so I actually get them backed up. Robocopy chokes on these extended attributes. I keep all my USB backup hard drives as NTFS, since i have more PCs in my world than Macs and want to be able to read my data without installing the HFS driver. I use RSync to copy files from my Mac, some of which have extended attributes that are not supported by NTFS.
#Robocopy sync folders Pc
You are apparently an all PC shop, so this won't be an issue for you, but I'll share this anyway.
#Robocopy sync folders manual
I believe you can use "at login" as a trigger for a scheduled task, but I like a manual icon, since I often make changes during my session, and prefer to be able to capture what I just did - effectively "at log off". The main disadvantages are that Robocopy works at a file level rather than a block level, so if you have a large file where only a small part has changed, Robocopy still copies the whole thing. The advantages are that you don't need a server process like RSync does (though I use RSync between my Mac and my NAS box), but still offers differential copies - you don't hae to transfer the unchanged stuff again. "Where's the script?" Sorry, that's an exercise I'll leave for the reader.) I found this discussion on using Powershell and the Sync Framework, maybe it will be useful for you: (I know what you're thinking. The only reason that I wouldn't use Powershell is because I don't have sufficient experience with it. A better option is probably a Powershell script. It is also scriptable, but not to the extent that Robocopy is.

Another alternative to robocopy is SyncToy, a free utility from Microsoft which has a nice graphical interface. Generally speaking, there are three things you will do using robocopy: copy, move, and synchronize folders and files.

For example, maybe you could have a trigger of "at logon" that launches a script which checks for the availability of the folder, and if it exists, runs Robocopy to synchronize the folders. With the task scheduler, you can launch scripts based on triggers (but I'm not sure what triggers are available). I've noticed several questions about Robocopy appear with several different tags.Were I doing this, I would write a script using Robocopy (it's a command-line copy utility included with Windows 7). PS - I hope I've posted with the correct tag. I thought I'd try moving one folder to see how Robocopy works before attempting to move more data by using my external hard drive. Still no luck.Įventually, I'll need to move 527GB of folders and files from my old PC ( C:\Users\DWC\My Documents) to my new PC ( D:\DWC\My Documents). I then thought maybe Robocopy was not keeping the Timestamps of the "Animals" folder so I tried various other methods like using Robocopy to put the "Animal" folder (with sub-folders and the files) into a new subfolder on the USB, then using Robocopy to copy that new sub-folder to the new PC. On the new PC, all the Timestamps for the folders within "Animals" are correct, but the Create timestamp for the "Animals" folder is the system date and time. On my NEW PC I used Robocopy to copy from the USB: [source} = "C:\Users\DWC\My Documents\Animals" (Animals has several sub-folders with files) Learn more about everything you can do with Robocopy here. I'm trying to copy files from my old PC (Win 7) to my new PC (Win 10 Pro), but I want to retain the timestamps for files AND folders.įrom the command prompt on my old PC, I've tried putting the files on a USB with: Robocopy is a powerful command-line tool for Windows that allows users to synchronize files and folders from one location to another.
#Robocopy sync folders how to
I did some searching about how to use Robocopy.
