Page 1 of 1

Move entire directory with all contents and structure?

PostPosted: Thu Oct 04, 2018 2:58 pm
by mikejandreau
I'm using Hazel as part of my download automation.

Movie downloads from Transmission.
Filebot runs on completion to gather artwork, subtitles, etc.
Handbrake's CLI then compresses the file, automatically.
Hazel then moves the file to its home where Plex picks it up.

What I'd love to do is have Hazel move the entire directory in one fell swoop, artwork, subtitles, movie, etc.

Can someone point me how to do that?

I thought about having the file download to the end destination from the get go and processing it there with Filebot and Handbrake, but given that Handbrake can take hours on bigger files, I didn't want someone to start watching a file in Plex to have Handbrake finish and delete the old file (the one they were watching), so I think I'll stick to my current routine if I can get all the files to move together.

Thanks for any help anyone can offer!

Re: Move entire directory with all contents and structure?

PostPosted: Fri Oct 05, 2018 11:10 am
by Mr_Noodle
Not sure of the directory structure but if you want to move the whole directory, set up Hazel to monitor the directory containing the directory you want to move and have your rule match the directory, not the files within it.

You can use nested conditions (search the help) to match the directory based on the files within, with the actions operating on the directory.