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

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

Moderator: Mr_Noodle

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
Happy wife .... Happy life... :D
HaubenTaucher
 
Posts: 19
Joined: Sun Oct 23, 2016 8:23 am
Location: Germany / OWL

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.
Mr_Noodle
Site Admin
 
Posts: 11875
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support