Page 1 of 1

Unarchive a file -> how to extract pdf´s from subfolder

PostPosted: Thu May 16, 2024 2:11 pm
by HaubenTaucher
Hej to all here...

i need some help for an unarchived folder...
i often get some dynamically named zip-Files...
I created a rule that automatically unarchive a zip-File. This works fine so far.
When done, the unarchive-Command created a subfolder with the Filename of the unarchived File i got. In the new created subfolder are some extracted PDF-Files.
Now the challenge is to extract the PDF´s from that subfolder and move (or copy) to another location on the disk.
After that action the subfolder must be deleted...

I do not have any idea to extract the files from the subfolder.
Do i have to create a script for this or can hazel do this with it´s tools itself?

I would be very pleased about a feedback from you.
Have a lovely day ahead!
Best regards,

Rolf

Re: Unarchive a file -> how to extract pdf´s from subfolder

PostPosted: Fri May 17, 2024 9:36 am
by Mr_Noodle
Check the manual on subfolders. There's a chapter there on how to get Hazel to go into subfolders so that other rules can then process files within them.