CLOSED: [2020-03-19 Thu 23:15] :PROPERTIES: :ID: 2020-03-18-demo-filetags-filter :CREATED: [2020-03-18 Wed 23:39] :END: :LOGBOOK: - State "DONE" from "NEXT" [2020-03-19 Thu 23:15] :END: This is part of a multi-step demo: 1. [[id:2020-03-18-demo-filetags-intro][Demo introduction]] 2. [[id:2020-03-18-demo-date2name][Adding date- and/or time-stamps to files]] 3. [[id:2020-03-18-demo-appendfilename][Appending some text to file names]] 4. [[id:2020-03-18-demo-filetags-tagging][Tagging files]] 5. *Filter files according to their tags* 6. [[id:2020-03-18-demo-filetags-mk-tagtrees][Generating TagTrees and navigating them]] 7. [[id:2020-03-18-demo-filetags-tag-tagtrees][File manipulation in filtered views or TagTrees]] 8. [[id:2020-03-18-demo-filetags-setup][Quick Setup Instructions]] ------------------------ We now ended up with a reasonable amount of files. To retrieve specific files, you may want to use filter mechanism. One way of retrieving specific files using their associated tags is by using the tag filter feature of [[https://github.com/novoid/filetags][filetags]]: #+BEGIN_HTML Screencast showing filter mechanism of filetags #+END_HTML What is shown: 1. From the "Send to" context menu, *the "filetags filter" function* is invoked. 2. In the *pop-up window*, you can now specify one or more tags. - Feel free to use =TAB=-completion or quick access numbers. 3. The *tags "customerB" and "public" are entered*. - Tip: I could have entered "36" instead to select the tags using their proposed numbers. 4. A new, temporary, File Explorer window pops up *showing only files* that contain *both tags*. - This new window shows the content of a temporary folder that is populated with the query result. The files shown are shortcuts to the original files. So you can open them, change their content and save them. - Tip: If you need to go to the original file, you may chose "Open file location" from the context menu. 5. The *temporary result window* is now *closed*. - Don't worry about the content. It will be overwritten with the next query. 6. The *next filter query* is done for the tags "customerB" and the tag "final". The latter via the number 5. - As mentioned above, these numbers are really handy when it comes to work efficiently. 7. The result window shows *only files that contain selected tags*. - Meanwhile, you already know how this works, right? ;-) 8. Again, the *temporary window is closed*. Please note that *all filter actions* are *independent from* the file or file *selection*. They apply to the current folder of the selected file(s). Next: [[id:2020-03-18-demo-filetags-mk-tagtrees][Generating TagTrees and navigating them]]