create new folder and move file to folder

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

Moderator: Mr_Noodle

create new folder and move file to folder 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
dgtlman
 
Posts: 2
Joined: Tue Mar 28, 2017 9:33 pm

Re: create new folder and move file to folder 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.
Mr_Noodle
Site Admin
 
Posts: 11880
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: create new folder and move file to folder Thu Mar 30, 2017 10:03 pm • by dgtlman
worked great, thanks!
dgtlman
 
Posts: 2
Joined: Tue Mar 28, 2017 9:33 pm


Return to Support