Black Hole
May contain traces of nut
I disagree, unless we want to combine flatten and auto-filer. Flatten has no need to recurse lower-level folders. At the moment auto-filer looks for a duplicate folder name, but it could be directed to move files to an arbitrary folder.
The concept of combining them has been brought up before and dismissed on the "do one job simply" philosophy, which is fair enough in its place but now we have a situation of interacting events which would be better handled in a one-stop-shop. Flatten and auto-filer both have to act on a new recording that has been placed in a series folder. Flatten desires to move it to the top level, auto-filer desires to move it somewhere else. It's still a move operation on a new recording, so what's the bother with streamlining the two into one general purpose utility?
What if the .folder_name flag file contained the desired destination of any files which arrived in a first-level folder with a matching name? I'll think about it.
The concept of combining them has been brought up before and dismissed on the "do one job simply" philosophy, which is fair enough in its place but now we have a situation of interacting events which would be better handled in a one-stop-shop. Flatten and auto-filer both have to act on a new recording that has been placed in a series folder. Flatten desires to move it to the top level, auto-filer desires to move it somewhere else. It's still a move operation on a new recording, so what's the bother with streamlining the two into one general purpose utility?
What if the .folder_name flag file contained the desired destination of any files which arrived in a first-level folder with a matching name? I'll think about it.