Sorting Both Files and Folders by Date in Filename #200
-
Hi @SebastianMC, First off, thank you again for your help with my previous issue—it’s been working great for folders! I’m now trying to apply the same date-based sorting to both files and folders where the date is embedded in the filename. My goal is to have files sorted in the same way as folders when they contain a date in I’ve tried modifying my existing configuration by using Would you be able to point me in the right direction? I really appreciate your time and support! Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi @JSG-1 to match against files and folders you don't need to include any specifier - this is a default behaviour.
Let me construct the patterns then for your date schema, using a different syntax, introduced in 2025:
Eventually, if you want to combine the above patterns into one big combo, use the # Sort by ending date for folders inside
target-folder: /*
/+ ... \[yyyy-mm-dd]
/+ ... \[yyyy-mm-dd] \a+
/+ \[yyyy-mm-dd]
/+ \[yyyy-mm-dd] \a+
/+ \[yyyy-mm-dd]...
> a-z I've written the above based on documentation, no testing. If you encounter issues let me know. regards, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Indeed there is such a limitation in the pattern matching! # Sort by ending date for files and folders
target-folder: /*
/+ ... \[yyyy-mm-dd] Mon
/+ ... \[yyyy-mm-dd] Tue
/+ ... \[yyyy-mm-dd] Wed
/+ ... \[yyyy-mm-dd] Thu
/+ ... \[yyyy-mm-dd] Fri
/+ ... \[yyyy-mm-dd] Sat
/+ ... \[yyyy-mm-dd] Sun
> a-z Long term I can introduce yet another date pattern to cover this specific scenario |
Beta Was this translation helpful? Give feedback.
-
This worked great! Thanks Sebastian.
|
Beta Was this translation helpful? Give feedback.
-
Hi @JSG-1, |
Beta Was this translation helpful? Give feedback.
Indeed there is such a limitation in the pattern matching!
So, for now there is no other way than to explicitly list the day names like:
Long term I can introduce yet another date pattern to cover this specific scenario