Page 1 of 1

Move file to folder named same as prefix of filename.

PostPosted: Wed Nov 16, 2016 12:18 am
by SpotVOD
I'm brand new to Hazel and have no idea the steps needed to accomplish the following. Is this possible with match patterns or a script?

1. In post production, I utilize a naming convention for filenames: [client abbreviation].[name].mov.

2. When Adobe Media Encoder converts a file and places it in the output folder, I want Hasel automation to move the file to a folder of the same name, [client abbreviation], on the computer's Google Drive.

3. If possible, the [client abbreviation]. would be removed from the filename.

Note: I have over 1000 client folders and add them frequently.

Thank you for any help.

Re: Move file to folder named same as prefix of filename.

PostPosted: Wed Nov 16, 2016 1:40 pm
by Mr_Noodle
Should be doable. Use a custom attribute to match the client abbreviation and the rest of the name. Use the client abbreviation attribute in the Sort into subfolder action. Then use a rename action which uses the other custom attribute.