3 ms·
Doesn't MacOS translate "/" into ":" sometimes in save dialog boxes when you type in a filename?
by lmz 4y ago
Doesn't MacOS translate "/" into ":" sometimes in save dialog boxes when you type in a filename?
- latexr 4y agoGo in the Finder and try to change a file name to have a colon. macOS will tell you it can’t do it. Now change it to have a forward slash. macOS will happily abide. Finally, look at that file’s path in a terminal. Where the Finder shows a forward slash, the terminal will show a colon. Redoing the AppleScript example: $ osascript -e 'POSIX file "/tmp/file with : forward slash.txt"' => file Macintosh HD:private:tmp:file with / forward slash.txt