I tried Robocopy and a number of its GUIs. I spent days trying to copy about 600 GB of files from one external drive to another external drive using freeware. Robocopy version XP027 apparently no longer has this bug but it doesn't work on Windows XP. There seems to be a bug with the "backup mode", though: The file I have is 208kB and the version number is. Or you can install Robocopy GUI and then search for the robocopy.exe file in the System32 folder, so as to use it from the command line. Search "Robocopy XP026", or I can send the file here as it's not very easy to find. Robocopy XP026 is indeed included in Windows Vista, but works on Windows XP. I asked the creator of the software if he could figure out why, but he had no clue I guess it has to do with such software downloading files in small packets (intended to optimize speed) and my data partition being hugely fragmented. Beware, though, it can produce corrupted files with source files downloaded using software like FlashGet or Orbit Downloader (the resulting files have the same size but only 25kB is actually copied - the rest is filled with zeros). It's the only software I know on Windows XP which does that flawlessly, beside Robocopy, and I've tried many. Synchronize It! 3.5 keeps all timestamps (files and folders, modification and creation). The Wikipedia page for RoboCopy (linked at top of this post) lists other software that can be used. Robocopy D:\ C:\D_backup /A-:SH /DCOPY:T /COPYALL /E /R:0 /ZB /ETA /TEE /V /FP /XD D:\$RECYCLE.BIN /XD "D:\System Volume Information" /LOG:C:\D_backup_robocopy.LOG /MIR Other Software:Īlternatively, you can download a GUI version of robocopy if you don't want to use the command line.Īnother windows utility is XCopy, though it is included in windows 10, it is being deprecated. This descussion sheds more light on this option as a solution. The following command as per fixed this: attrib -h -s C:\D_backupĪlternatively, adding the /A-:SH "unsets the Hidden Attribute from System files", thus may prevent the directory from becoming hidden in the first place, as per. Edit: gotcha when copying from a Root Directory (aka drive) to a Folder (non-root directory)Īfter running the example command above, the directory was not visible! (Even though show hidden files and show system files were checked in Windows 10!) In this way you can verify it won't copy (or remove) any directories/files that you do not want, and that there are no errors in your command. Also, the second directory exclusion uses quotes because there are spaces in the directory name.įinally, you can add the /L flag to test the command before doing it for real. Notice how excluding 2 subdirectories requires the /XD flag to be used twice. Robocopy D:\ C:\D_backup /DCOPY:T /COPYALL /E /R:0 /ZB /ETA /TEE /V /FP /XD D:\$RECYCLE.BIN /XD "D:\System Volume Information" /LOG:C:\D_backup_robocopy.LOG /MIR To see the full syntax, type robocopy /? at a command prompt, or take a look at these blog posts: and Robocopy C:\some_directory D:\some_directory /DCOPY:T /COPY:T /S If you only want to preserve date and directory timestamps, but do not want empty subdirectories copied over and do not want other attributes preserved then you may use: R:0: do not retry locked files (the number of retries on failed copies default value is 1 million), /E: Copy directories recursively, including Empty Directories./DCOPY:T preserve original Directories' Timestamps (requires version XP026 or later).Robocopy C:\some_directory D:\some_directory /DCOPY:T /COPYALL /E /R:0 On my windows 10 machine it is located at C:\Windows\System32įrom Wikipedia, it can be used with the following set of options to preserve file and directory timestamps, as well as other attributes: Robocopy command line tool (comes with most versions of windows)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |