Windows 10: Robocopy exclude

Discus and support Robocopy exclude in Windows 10 Support to solve the problem; Hello everyone, How do I exclude System Volume Information in Robocopy Windows 10? I tried XD\ "System Volume Information" "$Recycle.bin"... Discussion in 'Windows 10 Support' started by doncole, Mar 3, 2018.

  1. doncole Win User

    Robocopy exclude


    Hello everyone,

    How do I exclude System Volume Information in Robocopy Windows 10?

    I tried XD\ "System Volume Information" "$Recycle.bin"

    System Volume Information doesn't work. Recycle.bin does.

    Don Cole

    :)
     
    doncole, Mar 3, 2018
    #1
  2. rigg77 Win User

    Scheduled File Move

    Thanks. Changed my approach and use robocopy since its a little more robust and has all the built in modifier/options.

    robocopy "C:\path..." "D:\path..." *.vwx /mov /minage:10 /log+:Archive.txt

    robocopy [Source File Path] [Destination File Path] (Name/Type/Wildcards) (options)

    /mov -- moves files rather than copy

    /MINimumAGE:10(days) --excludes anything less than 10 days old

    /log+Robocopy  exclude :(Name) --Keeps a running log of move
     
    rigg77, Mar 3, 2018
    #2
  3. SyncTOy

    IMO and based on my research, SyncToy is very unreliable. In my Windows 10 system, it doesn't sync new files/folders. Moreover, it deletes files and folders in the destination even though I've set it to "Echo", and the source files and folders are intact.
    This is dangerous.

    I switched to the command-line tool Robocopy which supports the /MIR (mirror) argument to create a mirror folder and subfolders, exactly the same as source folder.

    RoboCopy Command-line examples

    robocopy "d:\backup" "F:\WD-Elements\backup" /MIR

    To exclude a file type (example *.bmp) from being Synced:

    robocopy "c:\users\ramesh\Desktop" "F:\WD-Elements\Desktop" /MIR /XF file *.bmp

    Get used to RoboCopy, and you'll certainly love it. It's a fantastic tool. You can save the commands to a .CMD or .BAT file and set it to run from Startup folder or Schedule it, or start manually.

    Robocopy - Help

    Robocopy
     
    Ramesh Srinivasan, Mar 3, 2018
    #3
  4. pbcopter Win User

    Robocopy exclude

    Is this a typo?

    Command should be /XD

    Also use the full path C:\System volume Information
     
    pbcopter, Mar 3, 2018
    #4
  5. doncole Win User
    Thank you pdcopter,

    For your reply.*Smile

    I tried /XD and I get invalid parameter.


    In my case I'm copying a bunch of folder and files from E:\ to F:\.
    The error comes up on "F:\System Volume Information".
    I tried XD\ "F:\System Volume Information"
    It still didn't work.

    What I don't get is how come "$Recycle.bin" is working (without the "F:") but not "System Volume Information".

    Don Cole
     
    doncole, Mar 4, 2018
    #5
  6. Code: /xd $RECYCLE.BIN "System Volume Information"[/quote] That's what I use in my robocopy script and it works.
     
    cyberrufus, Apr 4, 2018
    #6
Thema:

Robocopy exclude

Loading...
  1. Robocopy exclude - Similar Threads - Robocopy exclude

  2. robocopy fails at the folder My Music

    in Windows 10 Gaming
    robocopy fails at the folder My Music: I’m using robocopy to create a mirror backup folder. It doesn’t finish and the reason seems strange. I’m working from folder C:\Users\belli\Documents. This is separate from the OneDrive\Documents, as I’m not using OneDrive that folder still exists and some programs use it....
  3. robocopy fails at the folder My Music

    in Windows 10 Software and Apps
    robocopy fails at the folder My Music: I’m using robocopy to create a mirror backup folder. It doesn’t finish and the reason seems strange. I’m working from folder C:\Users\belli\Documents. This is separate from the OneDrive\Documents, as I’m not using OneDrive that folder still exists and some programs use it....
  4. Robocopy renames the target directory to the same directory once done running

    in Windows 10 Gaming
    Robocopy renames the target directory to the same directory once done running: Hi,Trying to copy all folders to another directory on same disk and partitionrobocopy c:\Users\bob\Document c\users\Bob\1-BobBackup /sthis runs when complete, the 1-BobBackup is renamed "Document" resulting in 2 "Document " folders making it confusing which is source and...
  5. Robocopy renames the target directory to the same directory once done running

    in Windows 10 Software and Apps
    Robocopy renames the target directory to the same directory once done running: Hi,Trying to copy all folders to another directory on same disk and partitionrobocopy c:\Users\bob\Document c\users\Bob\1-BobBackup /sthis runs when complete, the 1-BobBackup is renamed "Document" resulting in 2 "Document " folders making it confusing which is source and...
  6. Robocopy copies unwanted folders

    in Windows 10 Gaming
    Robocopy copies unwanted folders: So, I'm working on a script that, among other things, backs up Documents folder to USB drive. The issue that I'm having is the same as this guy...
  7. Robocopy copies unwanted folders

    in Windows 10 Software and Apps
    Robocopy copies unwanted folders: So, I'm working on a script that, among other things, backs up Documents folder to USB drive. The issue that I'm having is the same as this guy...
  8. robocopy files but exclude files in root

    in Windows 10 Network and Sharing
    robocopy files but exclude files in root: Hello,I want to copy this directory, but exclude the files in root a,b,c:Source:c:\src\test\ - a.txt - b.txt - c.txt - sub1\ - d.txt - sub2\ - e.txtDestination:c:\dest\test\ - sub1\ - d.txt - sub2\ - e.txtI tried:- robocopy c:\src\test...
  9. robocopy files but exclude files in root

    in Windows 10 Gaming
    robocopy files but exclude files in root: Hello,I want to copy this directory, but exclude the files in root a,b,c:Source:c:\src\test\ - a.txt - b.txt - c.txt - sub1\ - d.txt - sub2\ - e.txtDestination:c:\dest\test\ - sub1\ - d.txt - sub2\ - e.txtI tried:- robocopy c:\src\test...
  10. robocopy files but exclude files in root

    in Windows 10 Software and Apps
    robocopy files but exclude files in root: Hello,I want to copy this directory, but exclude the files in root a,b,c:Source:c:\src\test\ - a.txt - b.txt - c.txt - sub1\ - d.txt - sub2\ - e.txtDestination:c:\dest\test\ - sub1\ - d.txt - sub2\ - e.txtI tried:- robocopy c:\src\test...