Folder to file rename to add tags then into Evernote

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Hi All,

Hope you have help i've been struggling for the past few days trying to see the best simply way of getting this done and havent come very far.

So i am trying to do the following to enable a great cross platform paperless experience:-

1. dropbox folder structure i.e
Car / Audi / Q5

into which i scan a pdf direct from my scanner scan0001.pdf
I want to use Hazel to rename the pdf to
"name of parent folder"_SEQXX_Day_Month_Year.pdf so the file would look like Q5_SEQ01_03_032013.pdf

2. Add tags to the PDF based on the folder structure NOT the complete folder structure but from the root.
i.e. Tags added would be Car, Audi, Q5

3. Send the PDF file into Evernote using the root folder name of "Car" as the Evernote notebook name and the tags shown in item 2. i.e. tags for the file added to the Evernote Notebook named "Car" would be Q5, Audi, Car

I am sure theres maybe a tonne of different ways to get this done, i'd really like to do it how i described above and have it real SIMPLE :D like me.

Brilliant if you can help, i am sure i am not the only one trying to do something like this.

Cheers,

M
mbojang
 
Posts: 1
Joined: Sun Mar 03, 2013 8:00 am

It probably won't be that simple but here's what I can offer:

1. This should be doable. The tricky part is getting the parent folder's name. You need to do something like:
Code: Select all
    If (all) match for (enclosing folder)
        Name matches (•parent folder name)

Where (•parent folder name) is a custom token matching anything. I suggest reading the help on match patterns if you don't know what all this is.

2. What do you mean by tags? There is no built-in notion of tags in OS X so I'd need more details on where you want these stored. As for getting the path, you might be able to use the "Source Folder" attribute. Again, read the help on this.

3. Search around for scripts to do this.

Unfortunately, what you are asking is not simple so the rules will require a bit of research to get right but the above should get you started.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support