To be specific, you need to write all files that need to be excluded in separate line in a text file, and name it. Here is an example based on the user in the case at the beginning. It is quite easy to copy files and exclude some certain files and folders with xcopy. Nevertheless, except for the xcopy exclude specific folder issue, there are many other xcopy problems like xcopy invalid path, xcopy access denied, and xcopy unable to create directory, etc. As a matter of fact, we have easier way to let Windows backup exclude files during copying.
File Backup and File Sync : make file recovery and transfer quite easy. Filter Settings : you are allowed to include or exclude files or folders with specific file extensions or wildcards. In addition, you have the choice to exclude hidden and system files and folders at the same time. To protect your data, MiniTool ShadowMaker allows you to sync files and folders regularly. Besides, it is a brilliant Windows backup utility, which allows you to back up files , folders, partitions, disks, and even the operating system.
MiniTool ShadowMaker provides you a Trial Edition that allows a day free trial for all backup features. Choose Connect under This Computer to get into the main interface. Step 2: Go to the Sync page and then click the Source module to choose the files you want to copy.
Then click OK to continue. Step 3: Click the Destination module to choose the destination path. After you have confirmed the destination path, click OK.
Or you can delay the task by clicking Sync Later , but you need to start the task on the Manage page. After the task has been completed, you can go to the destination path to view the files and folders. XCOPY command can be used to copy files and folders. But compared with MiniTool ShadowMaker, it is more complicated. Click to tweet. If you want to copy files and folders using the XCOPY command, it is pretty sophisticated because it has so many options.
Therefore, it is recommended to use MiniTool ShadowMaker. If you have any questions about using MiniTool ShadowMaker, leave a comment below or send an email to [email protected]. Download Shadowmaker. You can open the Command Prompt according to the steps shown above. Then, type the Xcopy command as below to copy folders and subfolders without files:. Once the Command Prompt is open, you can then type the following Xcopy command to copy all files and folders and retain its NTFS and Share permissions.
Actually, there are many parameters of Xcopy command, and you can combine different parameters for different situations. But if there is a slight error in the command, the copy operation may fail, and even lead to data loss. Therefore, you must be very careful when using Xcopy command. For users who are not familiar with the use of the command line, and want to copy files and folders easily, you can also use a third-party backup software. Xcopy essentially duplicates your folders to create an intact copy, and although it has some optional parameters, it is still difficult to do some advanced operations or requires carefully written syntax.
For example, you may want to auto copy changed files to target directory, keep different versions of backups for accurate recovery, compress backup files to save storage space, etc. What's more: If you want to auto sync changed files from source to target in real time, or auto delete older versions of backups to save space, you can upgrade to Professional edition. If you want to backup folders into restorable image files, however, you can consider Backup options, which are better suited for backing up large data like partitions, disks, OS , or keeping different backup versions.
0コメント