Page 1 of 1

create new folder and move file to folder

PostPosted: Tue Mar 28, 2017 9:41 pm
by dgtlman
I have an existing folder full of videos (mp4s). Almost all of the videos are in the root of this folder. I want to automate the follow process:

If the file in the folder is a video and not already in a sub-folder:
1. create a new folder
2. name the folder the same as the video file (without extension)
3. move video file into newly created folder

Is this something that hazel can do? If so can someone offer some assistance on how to do this. Thanks in advance for any assistance

Re: create new folder and move file to folder

PostPosted: Wed Mar 29, 2017 10:42 am
by Mr_Noodle
You can use the "Sort into subfolder" action. Use the "name" attribute to sort the file into a folder with the same name. The folders are created as needed.

Re: create new folder and move file to folder

PostPosted: Thu Mar 30, 2017 10:03 pm
by dgtlman
worked great, thanks!