Helo Noodlesoft, and all users of this forum
I have a problem, and maybe you can help me out.
I have a set of videofiles, that has been transcoded using Adobe. CC MediaEncoder software on Mac
These files were transcoded using watchfolder logic inside MediaEncoder.
As a part of this process I used hazel to rename the file before transcoding, so that part of the filepath is part of the filename.
The "path" needs to travel with the file in some form or another, and cannot be stored as i.e. keywords in the file ... as MediaEncoder strips all information for the new transcoded file.
Now after the files have been transcoded, MediaEncoder manages to place the files very close to the desired target, but not all the way ... This is because the destination folder for the files may not hav been created yet.
The name of the folders are Dates, and the creation date of the file is now part of the filename (start of the filename)
i.e. 2018-05-02_2238083#469764.mxf. (mxf is a type of videofile)
2018-05-02_(the start of the filename) was added by Hazel before the file was sendt to transcoding.
What I want to happen is that these transcode files are sorted into subfolders, and the name of these subfolders are the Date specified in the start of the filename ....
So ... the file 2018-05-02_2238083#469764.mxf is placed in a folder named 2018-05-02, and the folder is created if the folder does not exist.
Then the file is renamed, by removing everything in front of and including the underscore ..
Can this be done ?
Kind regards Nils M Alexandersen