Page 1 of 1

Adding an extention to a file with no extention

PostPosted: Wed Dec 14, 2016 3:06 pm
by arnaud
Hi,

I am using hazel to sort my invoices.
Some PDF invoices from a supplier I receive do not have extentions though GMAIL can read them and identifies them as PDF.

Once on my computer they aren't identified as PDF and do not have extentions :shock:

I tried to mlds it with terminal and here is what is says :

Image

I assume there is no extention even hidden ? (I tried to get hazel toggle to make it visible : no change)

How can I tell hazel to add the .pdf extention ?

Is it possible to add the pdf extention only to this type of files ? like : if no extention then : add .pdf ?

Regards

Re: Adding an extention to a file with no extention

PostPosted: Thu Dec 15, 2016 2:40 pm
by Mr_Noodle
You can use the Rename action. Use a pattern like: (name).pdf