kascetouch.blogg.se

Emcopy exclude
Emcopy exclude








emcopy exclude

Robocopy "%LOCALAPPDATA%\%chromeprofdir%" "H:\ChromeBackup\%chromeprofdir%" %rcChrmBIF% /E /ZB /COPY:DAT /DCOPY:T /MT:4 /XJ /XF %rcChrmBXF% /XD %rcChrmBXD% /R:10 /W:2 /TBD /NP /V /TS /Log+:"H:\ChromeBackup\ChromeBackup.Windows 8.1 Enterprise Windows 8.1 Windows 8.1 Pro Windows RT 8.1 Windows Server 2012 R2 Datacenter Windows Server 2012 R2 Essentials Windows Server 2012 R2 Foundation Windows Server 2012 R2 Standard Windows 8 Enterprise Windows 8 Windows 8 Pro Windows RT Windows Server 2012 Datacenter Windows Server 2012 Datacenter Windows Server 2012 Essentials Windows Server 2012 Foundation Windows Server 2012 Foundation Windows Server 2012 Standard Windows Server 2012 Standard More.

emcopy exclude

SET /P rcChrmBXD= SET /P rcChrmBXF= emcopy exclude

"Bookmarks" "Custom Dictionary.txt" "Extension Cookies" "Favicons" "History" "Login Data" "Preferences" "Top Sites" "Visited Links" "Web Data" "Databases\" "Extensions\" "Local Storage\" "Plugin Data\" "User Scripts\" "User StyleSheets\" I then use these variables for FILES or after /XF or /XD.įor instance, to backup the current user's Chrome profile without copying the entire "Default" folder, I use the following. In my batch file, I use a SET /P command to import the. txt files must be on one line and not have a carraige return line feed. Any directory entries are relative to the source path in the robocopy command. In an "Exclude" file for directories you do not use a trailing backslash. I surround each entry with double quotes and a space between entries.Īn "Include" file can have files or directories, but directories must have a trailing backslash. I preface them with "rc" (for robocopy), then some recognizable notation for the application or part of the file system in the robocopy command, then append "B" or "R" (for Backup or Restore), then "I" or "X" (for Include or Exclude), then "D" or "F" (for Directory or File).

emcopy exclude

My method for naming the files is as follows. I have these files in a subfolder "rcXcludes" under my "Backup" folder. txt files that contain the files or directories I want to include or exclude.










Emcopy exclude