Page 1 of 1

Renaming Folders

PostPosted: Sun Jun 16, 2019 12:44 pm
by manuhenriquez
Hi all!
I' have read the manual and also the forum to look for a solution to my need, which is pretty simple:

I have a Folder structure where every folder starts with "XX. Name", like 01. Admin; 02. Work; 03. Personal and every subfolder inside follows the same naming structure.

I did a test in my Downloads folder to use the match patterns feature and found out that it works perfect with files but not with folders. I tried adding the condition "kind is folder" but that didn't work either. I also tried taking out the extension pattern but nothing happened.

I am using also the "Go into subfolders" rule

What am I doing wrong?

Thank you very much for your help.

Re: Renaming Folders

PostPosted: Mon Jun 17, 2019 10:26 am
by Mr_Noodle
Not sure if this is your issue, but not that anything after a dot is considered the file's extension. Make sure you match against "Full name" in that case.

Otherwise, can you post your rules?

Re: Renaming Folders

PostPosted: Mon Jun 17, 2019 10:36 am
by manuhenriquez
Mr_Noodle wrote:Not sure if this is your issue, but not that anything after a dot is considered the file's extension. Make sure you match against "Full name" in that case.

Otherwise, can you post your rules?


Hi Mr_Noodle,
Thank you very much for your reply. I didn't realize that what you mention, that everything after a dot can be considered an extension.

I think I can't use "full name" because behind that "XX." there can be anything (months, customer names, content type, etc.)

Currently my rule looks like this:

If all conditions are met:
Name starts with 01.
Kind is folder

Do the following to the matched file or folder
Rename with pattern name (and under name I chose Replace "01. with 01 ")

Re: Renaming Folders

PostPosted: Tue Jun 18, 2019 10:14 am
by Mr_Noodle
That shouldn't matter. Trying to match the dot with Name won't work though.

Re: Renaming Folders

PostPosted: Wed Jun 19, 2019 6:00 am
by manuhenriquez
Mr_Noodle wrote:That shouldn't matter. Trying to match the dot with Name won't work though.


Thanks again for your reply.

I have tried wit Automator but haven't been able to make it work. Will keep on trying.

Thanks!

Re: Renaming Folders

PostPosted: Wed Jun 19, 2019 10:21 am
by Mr_Noodle
I'm still not sure why "Full name starts with XX." won't work. The whole point of "starts with" is that it doesn't care what happens after that text.