Hi all,
I've some filters like this and they work fine:
*.mp4
*.mkv
Recently I wanted to also filter the temp (open) files of Office, so I added this:
~*.*
But it didn't work.
Now I've accidentally set:
*\~*.*
and it works.
Why in some case the simple syntax works and not in some other cases ?
Thanks for enlightening me !
Question about filter syntax
- Posts: 19
- Joined: 26 Dec 2017
- Posts: 2450
- Joined: 22 Aug 2012
The syntax ~*.* only refers to all file-names starting with a tilde (~) in the root of the left and/or right base location.
The syntax *\~*.* refers to all file-names starting with a tilde (~) anywhere in the left and/or right base location directory tree.
By the way: the syntax *\~* should also work.
The syntax *\~*.* refers to all file-names starting with a tilde (~) anywhere in the left and/or right base location directory tree.
By the way: the syntax *\~* should also work.
- Posts: 19
- Joined: 26 Dec 2017
Wow, I indeed didn't think about the "root" aspect.
The other files I filter (*.mp4 & *.mkv) are actually in the root of one of the folders, that's why this filter worked. :)
Thanks !
The other files I filter (*.mp4 & *.mkv) are actually in the root of one of the folders, that's why this filter worked. :)
Thanks !