Skip to main content
carinawordbank
Participant
December 20, 2022
Answered

Photoshop Replaces # with _ when I Export As PNG

  • December 20, 2022
  • 4 replies
  • 700 views

Hello!

 

The files I work with include using a # to seperate information. 

I.E

Carina#logo_dark_v1_December and the psd will save as that naming perfectly fine.

However when I export as a png the naming will change from a # to an underscore. So it becomes:

 

Carina_logo_dark_v1_December and I hae to manually go in and change/readd the #. 

 

This is fine when I'm working on one file but when I'm working on multiple it becomes quite a pain. Does anyone know of a fix? 

This topic has been closed for replies.
Correct answer Stephen Marsh

@carinawordbank – Just adding to the reply from @Kevin Stohlmeyer it is indeed “best practice” to not include special characters in filenames. Some extend this to only using the period . dot character once to designate the filename extension and not elsewhere (as some software may get confused as to what the extension is).

 

You can use Adobe Bridge's batch rename to bulk replace characters in filenames. Even later versions of the Mac OS Finder offers a basic batch rename feature.

 

https://prepression.blogspot.com/2019/03/bridge-batch-rename-to-clean-invalid.html

4 replies

carinawordbank
Participant
December 21, 2022

Thank you all for the responses! Unfortunetly this file naming is dictated by my client 😞 I don't have the option. I was using a renaming tool but was wondering if adobe had anything setting wise I could change. 

Kevin Stohlmeyer
Community Expert
Community Expert
December 21, 2022

You should educate your client before you encounter file corruption.

Participating Frequently
November 14, 2023

You should educate yourself before you answer questions incorrectly.

Stephen Marsh
Community Expert
Stephen MarshCommunity ExpertCorrect answer
Community Expert
December 20, 2022

@carinawordbank – Just adding to the reply from @Kevin Stohlmeyer it is indeed “best practice” to not include special characters in filenames. Some extend this to only using the period . dot character once to designate the filename extension and not elsewhere (as some software may get confused as to what the extension is).

 

You can use Adobe Bridge's batch rename to bulk replace characters in filenames. Even later versions of the Mac OS Finder offers a basic batch rename feature.

 

https://prepression.blogspot.com/2019/03/bridge-batch-rename-to-clean-invalid.html

Kevin Stohlmeyer
Community Expert
Community Expert
December 20, 2022

# is not a valid for file names in either Mac or Windows OS file structures. Avoid using special characters in your file names or risk corruption.

Participating Frequently
November 14, 2023

Yes it is.

On Mac:
<pre>

Morrigan:~ dodger$ cat #.txt

This is a perfectly valid file.

 

Morrigan:~ dodger$ 
</pre>

<pre>
On Windows:

C:\Users\Dodger>type #.txt

This is a perfectly valid file on Windows.

 

C:\Users\Dodger>

</pre>

There is no risk of corruption. You are wrong.
This answr should not be marked correct, as it is not correct.

kglad
Community Expert
Community Expert
December 20, 2022

<moved from using the community >