|
splitting multi-tags but need some help
|
|
13-01-2019, 15:27
Post: #5
|
|||
|
|||
|
RE: splitting multi-tags but need some help
just for the sake I might forget about it in 2 years time ... or in case some others have a similar problem:
Code: egrep 'GENRE=' /volume1/public/alltags.txt | sed 's/\r//g;s/^/\n@/ p;s/GENRE=//;s/\n@/=GENRE=/;s/; /\n+GENRE=/g' >/volume1/public/tagupdate.txtseems to do the trick. Don't ask me if it could have been done lots easier, I'm definatly more into VisualStudio but bash'ing with crypto-alike linux commands. The separator in here is "; " just in case someone wants to try while using a differnt one. (once used in the command) the path&filename must get adjusted to your needs. And a small misery remains, it simply processes all genres found within the alltags file. One could surely extend this command by filtering out the ones not containing any delimiter since these could get skipped. But I'm too lazy to do this right now. And one could easily fire this command through plink.exe just in case one sits in front of a windows machine. |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
splitting multi-tags but need some help - aliasname - 12-01-2019, 21:40
RE: splitting multi-tags but need some help - simoncn - 12-01-2019, 22:10
RE: splitting multi-tags but need some help - aliasname - 13-01-2019, 10:32
RE: splitting multi-tags but need some help - aliasname - 13-01-2019, 11:18
RE: splitting multi-tags but need some help - aliasname - 13-01-2019 15:27
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



