snapshot excludes question  [Solved]

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
twi
Posts: 27
Joined: Sat Jul 16, 2022 6:02 pm

snapshot excludes question

#1 Post by twi »

I could not find an answer for this unbearably simple question and so here it is:

I want to exclude a specific folder located on the desktop and I could not find an example that I could follow.

I know in the excludes file there is this example entry:

home/*/Desktop/*

which I am guessing is used to exclude the Desktop folder but I don't know what comes next.

Would it be, perhaps: home/*/Desktop/*/Folder/*

or would it be: home/*/Desktop/Folder/*

to exclude the folder I want to exclude? Is one of those the correct syntax? Or is it something else?
If it is correct, would anyone care to translate that so that I understand why?

User avatar
CharlesV
Global Moderator
Posts: 7077
Joined: Sun Jul 07, 2019 5:11 pm

Re: snapshot excludes question

#2 Post by CharlesV »

The * on the end is a wildcard and means everything.

so..
home/*/Desktop/Folder/*

Means: everything in the folder named Folder which is inside the folder named Desktop

in the case above, the * before /Desktop means all users /Desktop/Folder
if you have multiple user profiles, then NONE of them would be backed up.
(and remember linux is case sensitive .)

if your wanting to exclude all files in that folder only in YOUR home folders, you should make sure to spell that out.
home/your_profile_name/Desktop/Folder/*
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
twi
Posts: 27
Joined: Sat Jul 16, 2022 6:02 pm

Re: snapshot excludes question

#3 Post by twi »

That is very helpful, thankyou! :-)

The thing that confused me and that led me to first suggest using this:

home/*/Desktop/*/Folder/*

instead of what you sugggested, namely this:

home/*/Desktop/Folder/*

was entries like this in the excludes file:

home/*/.cache/mozilla/firefox/*/cache2/*

but if I understand you correctly, that would mean excluding everything inside of cache2, in the specified location that is specified by the path?

Huckleberry Finn

Re: snapshot excludes question

#4 Post by Huckleberry Finn »

twi wrote: Tue Feb 21, 2023 1:00 pm...
home/*/.cache/mozilla/firefox/*/cache2/*

but if I understand you correctly, that would mean excluding everything inside of cache2, in the specified location that is specified by the path?
Yep.

For all users ... for firefox ...

User avatar
twi
Posts: 27
Joined: Sat Jul 16, 2022 6:02 pm

Re: snapshot excludes question  [Solved]

#5 Post by twi »

Thankyou for that! :-)

Post Reply

Return to “MX Help”