User Tools

Site Tools


howto:filter_files_and_folders

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:filter_files_and_folders [2014/02/11 22:38]
lupo73
howto:filter_files_and_folders [2014/10/04 10:39] (current)
Line 3: Line 3:
 To decide what will be processed with an Action, you need to define how your files and folders will be filtered by DropIt. You can do it defining some Rules and some Additional Filters for your Association. To decide what will be processed with an Action, you need to define how your files and folders will be filtered by DropIt. You can do it defining some Rules and some Additional Filters for your Association.
  
-{{ :rules.png?nolink&300 |}}+{{ :rules.png?direct&300 |}}
  
 DropIt offers several filters for your files and folders: DropIt offers several filters for your files and folders:
   * in the "​Rules"​ field you have to define one or more filters by filename and/or path;   * in the "​Rules"​ field you have to define one or more filters by filename and/or path;
-  * from the "Rule Settings"​ button (the "blue i") you find some examples and you can define to consider Rules as Regular Expressions (for advanced users); +  * from the "Rule Settings"​ button (the //"blue i"//) you find some examples and you can define to consider Rules as Regular Expressions (for advanced users); 
-  * from the "​Additional Filters"​ button (the "gray funnel"​) you can also configure to filter files and folders by their properties, attributes and content.+  * from the "​Additional Filters"​ button (the //"gray funnel"​//) you can also configure to filter files and folders by their properties, attributes and content.
  
 Files and folders that will match with the filters of an Association,​ will be processed with the related Action during the process. Files and folders that will match with the filters of an Association,​ will be processed with the related Action during the process.
  
 \\ \\
 +----
 +
 ===== Rules ===== ===== Rules =====
  
-Each file and folder on your hard drive has a ''​path'' ​that defines //"​where it is"//. Something like this:\\+Each file and folder on your hard drive has a __path__ ​that defines //"​where it is"//. Something like this:\\
 ''​C:​\Example\Of\Directory\File.jpg''​ ''​C:​\Example\Of\Directory\File.jpg''​
  
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''​)"//​
howto/filter_files_and_folders.1392154680.txt.gz · Last modified: 2014/10/04 10:38 (external edit)