Name Folder Based on Subfile/Folder Count

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

Moderator: Mr_Noodle

Name Folder Based on Subfile/Folder Count Fri May 22, 2020 12:00 am • by atharkhan
Does anyone know how to do name a folder based on the number of items inside it?
atharkhan
 
Posts: 4
Joined: Sat Oct 19, 2019 4:57 pm

Re: Name Folder Based on Subfile/Folder Count Fri May 22, 2020 10:10 am • by Mr_Noodle
Use the Rename action, drag in "Other" and select "Number of Items". I believe that should work.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

It works some of the time but not always. First, Spotlight has to have indexed a folder before this will work. Second, even when Spotlight has indexed the folder, for some reason, the values can be negative. The "Sub-file/folder count" in Hazel however seems to get it right every time. Please consider adding "Sub-file/folder count" as an option under the "Other" in Rename actions. Thank you!
atharkhan
 
Posts: 4
Joined: Sat Oct 19, 2019 4:57 pm

I'll consider it. Thanks.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron