Hi everyone,
I am trying to create a list of albums in txt mode, one line per album with the date-modified date in the front, like this:
2009-9-8 Electronica - Daft Punk - Homework
My script:
$filename(albums-only.txt)
$loop(%_folderpath%,1)$regexp(%_file_mod_date%,(\d{1,2})/(\d{1,2})/(\d{4}),$3-$1-$2) %genre% - $if2(%albumartist%,%artist) - %album% '['$replace(%_codec%,Free Lossless Audio Codec,FLAC)']'
$loopend()
I tried to use the "iflonger" as well as the "ifgreater" function inside the regexp function, but that does not seem to work. How can I have a ZERO precede all those days and months that are less than "less than 10".
Result should be:
2009-09-08....
as well as
2009-10-22 and not 2009-010-022
If anyone knows how to do this, please let me know!
Thank you. 