Hi,
I apologise if this query is addressed in a previous post.
I have a folder of PDFs (generated and maintained by Endnote (a reference management application)) and Endnote sorts specific PDFs into arbitrarily named subfolders within the main 'PDF' folder (let's call it 'FldrA').
I am currently using Hazel to monitor FldrA and then to copy any new PDFs (run on the contents of FldrA and therefore all of its subfolders) to a separate folder (let's call it 'FldrB')(synced to Google Drive). This is working very well.
I then get Hazel to monitor FldrB and sync any recently modified PDFs back to FldrA. Ideally I would like the PDFs to be synced into their appropriate subfolder (where the original PDF exists), but at the moment it just syncs them into FldrA itself, not the individual subfolders.
So what I am trying to achieve now is to have Hazel monitor FldrA and search for any duplicates within it and it's subfolders and replace the PDF in the subfolder with the more recent version in FldrA itself (i.e. scan for duplicates and move the more recent PDF version into the existing (but arbitrarily named) subfolder, replacing the older PDF version, and therefore only have the more recent PDF, and that being located within its subfolder).
Is this possible? (From looking at Hazel's options / possible rule attributes, I presume either an AppleScript or Automator workflow may need to be involved? (I don't have any experience with AppleScripts or Automator workflows)).
Thanks.