Page 1 of 1

Keep larger of two files.

PostPosted: Sat Jan 03, 2015 6:45 am
by AlexK
Hi,

I am trying to clean up my movies archive. I have a ton of home videos and TV episodes in various formats. They do share the same name when they come from the same source (for example I have two files one mp4 and one mov that are both called "Turkey Vacation 2013-06"). I'd like to only keep the larger of two files as it has been encoded in higher quality. Can I do that with a Hazel rule or would I need to resort to some kind of scripting language?

Re: Keep larger of two files.

PostPosted: Mon Jan 05, 2015 1:28 pm
by Mr_Noodle
In this case, I think you'd need to use a script. I can't think of a good way of implementing this using built-in conditions.

Re: Keep larger of two files.

PostPosted: Tue Jan 06, 2015 9:30 am
by AlexK
Thanks for the response Mr. Noodle. That's what I thought. Oh well, time to dust of the old Python knowledge. :)