Is it possible to exclude from a backup the content from ALL the folders named, for example, temp or cache?
I mean, exclude:
d:\temp
x:\temp
c:\users\myname\appdata\temp
c:\users\myname\appdata\locallow\temp
and so on.
Which syntax have I to use?
- Exclude all folders with the name
temp
:
--exclude="*\temp\\"
This will do exactly what you ask: exclude all folders with the nametemp
. - Exclude all foldernames starting with
temp
:
--exclude="*\temp*\\"
This will do the same as [1], but also excludes 'Temporary Internet Filesand
Temperature`. - Exclude all foldernames that contain
temp
:
--exclude="*\*temp*\\"
This will do the same as [2], but also excludesContemplated
.
See this article for more information about filters:
You can also use the GUI and add a filter in step 3 of the Add/Edit Backup wizard.
Thank you.
If I have well undestood the articled you cited, --excluded has to be used in the command line mode.
If conversely I want to use the UI, in step 3 have I to indicate (in edit as text mode) --exclude="\temp\"
or
-\temp\
?