I was recently approached by one of my blog readers John Ott, to help out with a bit of a technical challenge he had. John used a fairly complicated filing system for keeping track of lots of documents, blue prints and photos for projects him and his team work on. This included many subfolders with deep subfolders following a strict naming convention. When John starts a project, he used to copy and paste his top level folder, then work his way through all it’s subfolders updating the folder names with the new project code. John reached out to me to see if I could help out, so I put together this AppleScript which takes user input for source and destination folders and the latest project code, it then traverses the folders and their subfolder and updates the names as required.