This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howto:filter_files_and_folders [2014/02/11 22:38] lupo73 |
howto:filter_files_and_folders [2014/02/20 16:29] lupo73 [Additional Filters] |
||
---|---|---|---|
Line 13: | Line 13: | ||
\\ | \\ | ||
+ | ---- | ||
+ | |||
===== Rules ===== | ===== Rules ===== | ||
Line 41: | Line 43: | ||
* **''<nowiki>*fly*;**fly**</nowiki>''** means //"consider files and folders with name that contains ''fly'' (yes, you can also create associations for both files and folders)"// | * **''<nowiki>*fly*;**fly**</nowiki>''** means //"consider files and folders with name that contains ''fly'' (yes, you can also create associations for both files and folders)"// | ||
- | If you need to exclude some files or folders from the matching, you can use ''/'' character. For example: | + | If you need to exclude some files or folders from the matching, you can use ''/'' character. As you can see in the following examples, after each rule you have to define its own exclusions. For example: |
* **''*.jpg/sea*''** means //"consider files with ''jpg'' extension, except files with name that begins with ''sea''"// | * **''*.jpg/sea*''** means //"consider files with ''jpg'' extension, except files with name that begins with ''sea''"// | ||
* **''<nowiki>**docs**/**temp**</nowiki>''** means //"consider folders with name that contains ''docs'', except folders with name that contains also ''temp''"// | * **''<nowiki>**docs**/**temp**</nowiki>''** means //"consider folders with name that contains ''docs'', except folders with name that contains also ''temp''"// | ||
- | * **''*.jpg/sea*;*.png/fly*''** means //"consider ''jpg'' files except if begin with ''sea'' and ''png'' files except if begin with ''fly''"// | + | * **''*.jpg/sea*/wind*;*.png/fly*''** means //"consider ''jpg'' files except if begin with ''sea'' or ''wind'', and consider ''png'' files except if begin with ''fly''"// |
Sometimes you may need to create general associations to process all dropped files and folders; other times you may need to process them only if there are no other actions to be performed. In these cases you can use the following special Rules: | Sometimes you may need to create general associations to process all dropped files and folders; other times you may need to process them only if there are no other actions to be performed. In these cases you can use the following special Rules: | ||
Line 61: | Line 63: | ||
\\ | \\ | ||
+ | ---- | ||
+ | |||
===== Additional Filters ===== | ===== Additional Filters ===== | ||
Line 77: | Line 81: | ||
The third group is "Others", to filter files and folders by: | The third group is "Others", to filter files and folders by: | ||
- | * **''Included Files''** to //"consider only folders that contain the defined list of files (you can type this field as Rules)"// | + | * **''Included Files''** to //"consider only folders that contain the defined list of files (you can define filenames and use asterisks, typing for example ''*.jpg;*.png'' or ''img*.jpg'' or ''house*.*'')"// |
* **''File Content''** to //"consider only files that contain the defined strings (you can decide if consider typed text as ''Each word'' separately, ''Literal string'', or ''Literal string and case sensitive'')"// | * **''File Content''** to //"consider only files that contain the defined strings (you can decide if consider typed text as ''Each word'' separately, ''Literal string'', or ''Literal string and case sensitive'')"// |