Backing Up C:\Users\*. Need to exclude \AppData \Music \Photos for all users

As per subject,

Looking to backup Users profiles but need to exclude \AppData \Music \Photos. Can anyone help me with how this may be achieved on the command line?

Cheers

You can use this expression with an exclude regular expression filter to exclude the AppData folder and it’s subfolders.

\w\:\\users\\.*\\AppData\\.*

Add another filter another filter just change “AppData” to “Pictures” and lastly add a third filter changing “AppData” to “Music”.

Hope that does the trick.

2 Likes