pdf document not readable after renaming

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

Moderator: Mr_Noodle

pdf document not readable after renaming Fri Sep 05, 2025 7:25 am • by Corpaton
Hi all,

I've installed Hazel v 6.0.4 and made few rules on my Download folder.

Raising the bar of complexity, I've created a rule what I hope is extracting a string from a pdf and renaming the file adding this string into the file name. The file is also moved to its folder after the renaming operation.

After all this is done, the file is not readable anymore - the file type is 'Document' and not pdf anymore.
I hope somebody can guide me into the right direction in order to solve this issue...

Is there any way attaching screenshots?!

Anyways, all the conditions are matching.
A matching pattern is created in the rules, with a name.

The result steps run are:
Rename with pattern 'Invoice <renaming pattern with the matching pattern from above><extension>'

I hope all this understandable, would be easier just to attach the screenshots...
Corpaton
 
Posts: 2
Joined: Fri Sep 05, 2025 7:12 am

Are you sure the extension is intact?
Mr_Noodle
Site Admin
 
Posts: 12001
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: pdf document not readable after renaming Fri Sep 05, 2025 8:52 am • by Corpaton
Strange, now it works as expected?! The pdf is renamed correctly and readable.
Earlier during troubleshooting I even made a new rule, with only a renaming operation, and this rule messed up the pdf file as well.

Now that it works, this issue can be closed.
Thanks for checking with me!
Corpaton
 
Posts: 2
Joined: Fri Sep 05, 2025 7:12 am


Return to Support