piersdd wrote:I found touch wouldn't always work. Sometimes, if the creation date was way out already, it would ignore it.
So, using /usr/bin/setfile, which requires the Apple Developer command line tools, I would get a more consistent result.
(MacOS X Mavericks auto-prompts to install the Apple Developer command line tools)
THANK YOU! This is just what I needed for the last piece of my NeatWork Migration scripts. I'm migrating a NeatWorks archive that includes documents scanned starting back in 2007. I had everything I needed in Hazel except this last piece, to re-date the creation date of each file to the original date. Now I have a clear path to migrate from the NeatWorks archive and "fire" Neatworks as my Paperless solution.
I've grown unhappy with the Mac version of NeatWorks since they've stopped providing upgrades to the Mac version of the software and their legacy scanner driver. I'm working on a new workflow to use either the file system or Evernote. But the first piece was to see if I could export existing content from the Neat archive package file, with detail. With the help of Hazel and your embedded date shell-script, I'm there!
Thanks again.
-DaveB