Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
edited tags
Link
bmike
  • 241.3k
  • 80
  • 433
  • 958
Bumped by Community user
Bumped by Community user
edited body
Source Link

Since mac doesn't support certain characters like ?!# ... on server directories anymore, I need to find and rename those. There are tons of "Icon?"-files in font folders and I want to rename it to "Icon_"

I tried to do it with terminal since other apps like "a better finder rename" have difficulties to find certain characters like "?" in filenames like my example "Icon?".

My first try was the find command like this:

find . -exec rename -s „Icon"Icon?" „Icon_“"Icon_" * {} +

It says "Unknown option: F"

Since mac doesn't support certain characters like ?!# ... on server directories anymore, I need to find and rename those. There are tons of "Icon?"-files in font folders and I want to rename it to "Icon_"

I tried to do it with terminal since other apps like "a better finder rename" have difficulties to find certain characters like "?" in filenames like my example "Icon?".

My first try was the find command like this:

find . -exec rename -s „Icon? „Icon_“ * {} +

It says "Unknown option: F"

Since mac doesn't support certain characters like ?!# ... on server directories anymore, I need to find and rename those. There are tons of "Icon?"-files in font folders and I want to rename it to "Icon_"

I tried to do it with terminal since other apps like "a better finder rename" have difficulties to find certain characters like "?" in filenames like my example "Icon?".

My first try was the find command like this:

find . -exec rename -s "Icon?" "Icon_" * {} +

It says "Unknown option: F"

Source Link

Find and rename illegal characters with mac terminal

Since mac doesn't support certain characters like ?!# ... on server directories anymore, I need to find and rename those. There are tons of "Icon?"-files in font folders and I want to rename it to "Icon_"

I tried to do it with terminal since other apps like "a better finder rename" have difficulties to find certain characters like "?" in filenames like my example "Icon?".

My first try was the find command like this:

find . -exec rename -s „Icon?“ „Icon_“ * {} +

It says "Unknown option: F"