Page 1 of 1

Add tags recursively in a folder

Posted: 28 Jan 2019 12:45
by ryloth
It is possible to assign a tag to a folder and to all files contained in it at the same time?

Thanks,
Gianluca

Re: Add tags recursively in a folder

Posted: 28 Jan 2019 14:25
by bdeshi
No, this is not built in but can be accomplished in various ways. For example, you can do a recursive search and tag all results in one go.
Add a "?" question mark after the folder path in the addressbar, and press enter. This will list all files and folders beneath that folder; select all with ctrl+a, then apply tags on them at once.
(If you've the topmost folder selected in the filelist, you have to type "<curitem>?" in the addressbar instead.)
--

Don this can be a useful little builtin feature, recursive filtered tagging. Maybe a search filter in the tag infopane, that applies tags to matched results among selection.
I can see uses, like if I want to tag all mp3s under a band's folder with the band name, or tag all files in a git repo. But sometimes users will want to skip certain things, like tag only files ignoring their container folders, here an expressive search filter will be handy.

Re: Add tags recursively in a folder

Posted: 29 Jan 2019 11:24
by ryloth
Thank you for the elegant and simple solution.