Previous Lecture Complete and continue  

  3 - Your First Hazel Rule

Video Description

Learn how to make your first Hazel rule.

Video Transcription

Now, there's a lot I want to talk about with this application, but before we do, why don't we just take a minute to do a quick rule?

So I'm going to—I've got this file on the desktop. I'm going to go ahead move it over there, and go over to Folders, and just give you an overview of the general interface.

Hazel's job is to clean your Mac and perform actions on files. It needs to know, however, where to look, and that's the purpose of this left window on the main screen.

It is the folders that Hazel will look at. So for instance, I've currently got to looking at the desktop. I could have a look at other folders as well.

If I wanted to add a new one, I get hit this little plus button down here and add a new folder. In fact, I'm going to do that.

I'm going to make one called Hazel that I'll keep on the desktop, and you can see it just created that for me. And now I can have Hazel looking inside that folder.

I can also remove folders if I want just by clicking on the little negative sign there.

There are some tools available here, and once we get into the rules later, we'll go over all this. But you can import and export rules and sync your rules with other Macs. And you can also preview rules, but we don't have any rules created yet.

Now, the rules that are prepared for each folder are kept over in this right column.

So why don't we create some rules?

I'm going to go up to the desktop, and we will create our very first rule together. To do that, you just tap on the little plus button, and now we've got a rule. And it's looking on the desktop, because it says it right there. And we're going to call this move PDFs, and this is going to be a really simple rule. We're going to have Hazel look for all of the conditions to be satisfied, even though there's only one here. And we're going to say that the file kind is—and then we can select from options. You can say is it a document, a folder, text, or PDF. And PDF is what we're doing, so we'll click on that. But we could also look for movies, music, images, presentations, applications. There's a whole lot more, and I'm going to show you how to use those.

But like I said, this is a simple rule.

PDF, so if the kind is PDF, what are we going to do? We're going to move that somewhere, and once again, there's a whole bunch of other things we could be doing. But for this simple rule, we're just going to move it. And we're going to move it into that brand new folder that we've just created, the Hazel folder.

So I'm going to go ahead and go Desktop, Hazel. And just for giggles, let's give ourselves a notification as well. So I'm going to scroll down to the bottom and say Display Notification, and we'll say PDF moved to folder. Done.

And I'm going to put that one below the Move folder, because it seems like we should move it before we give you the notification.

There's, like I said, a whole lot more we can do with this, but this is just a simple rule.

So anything that's a PDF is going to get moved in that folder that's on the desktop. I'm going to go ahead and click OK. OK, so now I have the rule created. You can see it's turned on, and it's going to start looking at the desktop.

The last thing I have to do is actually unleash Hazel.

I stopped it here before I started the screencast, because I wanted to be able to talk about it before Hazel did its magic.

So what Hazel does is it looks at the specific folders that you've told it to. It's actually quite fast. It doesn't happen immediately, but it's very close to immediate.

So, as soon as I click the Start button here, now Hazel is looking at all those folders, and at some point while I'm vamping about this, it's going to notice there's a PDF on the desktop. And it's going to move it into the folder and give me a notification. So let's hope that happens soon. I would sing you the Jeopardy music, but I'm pretty sure I'd get sued right now if I did that.

There it goes.

There's my notification, and there's the file getting moved.

So, now if I go into the Hazel folder, you'll see that file is there.

So that's just a really simple idea of how Hazel works.

We're going to go much deeper with these screencasts. But at least you've got your feet wet now, and you understand what we're about to learn together.