Forward-slashes in name format creates multiple subfolders

Support for macOS users and the Mac App Store package
Post Reply
ilikeitloud
Posts: 2
Joined: 22 Jun 2021, 03:28

Forward-slashes in name format creates multiple subfolders

Post by ilikeitloud »

I'm trying to include forward-slashes in my renaming format but the renamed file is created within a series of nesting folders made after each forward-slash:

Image

Image

Is there a way I can specify that the forward-slashes are part of the filenames and not subfolders? I tried preserving them in quotation marks like in terminal but the folders are created in the same way. Thanks!
User avatar
rednoah
The Source
Posts: 19899
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Forward-slashes in name format creates multiple subfolders

Post by rednoah »

You cannot use / in file names. This is a fundamental limitation of all file systems on all operating systems.


:idea: Note that Finder appears to (but doesn't actually) allow / in the file name because it translates / to : when you rename a file in Finder and then displays : as / for your convenience. You can therefore use : in your format instead of / to name your files. Sane applications like FileBot will display : as : but Finder will display : as / for historical reasons. I hope I'm being clear. :lol:


:idea: Personally, I'd avoid both / (not possible) and : (fake display value) in file names for the sake of sanity. :lol:


:arrow: Please read this post for details:
https://stackoverflow.com/a/30816505/1514467
:idea: Please read the FAQ and How to Request Help.
ilikeitloud
Posts: 2
Joined: 22 Jun 2021, 03:28

Re: Forward-slashes in name format creates multiple subfolders

Post by ilikeitloud »

Thanks for the quick reply!
Post Reply