Please excuse me as this is my first post. Hopefully, I am following protocol
I am trying to figure out how to script something to save my wrist. I have a filing system that is based on characters.
For example:
First, based off the first two characters, then within the two character folder structure, three character folders.
-
My file names are â993_NameOfFileâ. Where 99 equals a specific category, and 3 equals a subcategory.
-
So, using this example, my folders start 88, 89, 90, 91. etc until 99. Then within â99 folderâ we have 991, 992, 993, 994, 995. etc.
So, the path for this file would need to be (Drive/99/993/993_NameOfFile). Understand?
More Examples:
645_CarDriving Drive/64/645/645_CarDriving
648_CarRed Drive/64/648/648_CarRed
754_GrassEarth Drive/75/754/754_GrassEarth
754_GrassMars Drive/75/754/754_GrassMars
755_ChiliRecipe Drive/75/755/755_ChiliRecipe
764_MushrmSoup Drive/76/764/764_MushrmSoup
How I am trying to get this to work is through a âwatch folder.â During the day, I go through a lot of files, and need to place them at end of day (or when I need a break), into the watch folder so they automatically get placed into the folders and subfolders. I know there is a way to script this, but I donât know exactly how on a mac?
On a PC I know I would need to have a script look for the first 2 characters of the file find that matching folder place the file in it, then, within that folder relook at the file for the first 3 characters and place it inside the matching 3 character folder.
Any help at all would be much appreciated and my wrist would thank you as well, as I am hand placing these 100âs of files daily.
Sincerely,
anickmator