Menu

#670 Exclude directory list

open
nobody
None
5
2026-01-21
2026-01-21
mjh62762
No

Hello,

How can I exclude directories with all of their content using exclude list?
I have used -xr@"C:\!Skrypty!\Test.txt" switch and the txt file has paths like:

C:\$RECYCLE.BIN
C:\System Volume Information
C:\Windows
C:\AMD
C:\Brother
C:\HP Universal Print Driver
C:\PatchTemp
C:\PerfLogs
C:\Recovery
C:\ProgramData\Dane aplikacji
C:\ProgramData\Dokumenty
C:\ProgramData\Menu Start
C:\ProgramData\Microsoft
C:\ProgramData\Pulpit
C:\ProgramData\Szablony

I have noticed that something breaks down when there is a space in directory name, so I have tried using quotes but it didn't help. Any idea how can I fix that please?

Discussion


Log in to post a comment.

MongoDB Logo MongoDB