Page 1 of 1

How to sync tags with filenames?

PostPosted: Sat Jun 15, 2019 10:19 pm
by panyuz
for example,

file1.png

if i add a tag1 to it,the filename auto rename to [tag1]file1.png;
if i add a tag2 to it, the filename rename to [tag2][tag1]file1.png;

if i remove the tag1 ,then the filename auto rename to [tag2]file1.png.
if i remove all tags, the filename change to file1.png

Re: How to sync tags with filenames?

PostPosted: Mon Jun 17, 2019 10:24 am
by Mr_Noodle
How do you determine the order? Also, are the square brackets actually around each tag or did you just put those in for illustrative purposes?

Re: How to sync tags with filenames?

PostPosted: Mon Jun 17, 2019 9:15 pm
by panyuz
Mr_Noodle wrote:How do you determine the order? Also, are the square brackets actually around each tag or did you just put those in for illustrative purposes?


i do not know how to determine the order. the square brackets are parts of filename, not for illustrative

Re: How to sync tags with filenames?

PostPosted: Tue Jun 18, 2019 10:18 am
by Mr_Noodle
It may not be doable without a script. While you can prepend Tags to the name using the Rename action, you can't really put square brackets around each one.

You'd also need to isolate the name from the tags part in the condition so that you don't keep prepending tags every time they change. Probably a custom attribute which grabs everything after the last "]".