Page 1 of 1
Forward-slashes in name format creates multiple subfolders
Posted: 22 Jun 2021, 03:57
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:
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!
Re: Forward-slashes in name format creates multiple subfolders
Posted: 22 Jun 2021, 04:07
by rednoah
You cannot use / in file names. This is a fundamental limitation of all file systems on all operating systems.
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.
Personally, I'd avoid both /
(not possible) and :
(fake display value) in file names for the sake of sanity.
Please read this post for details:
https://stackoverflow.com/a/30816505/1514467
Re: Forward-slashes in name format creates multiple subfolders
Posted: 22 Jun 2021, 04:23
by ilikeitloud
Thanks for the quick reply!