If you are putting this into a Terminal script, then I always just use the
MacOS Copy Pathname from the right click on the file name (then press the
option key). When the MacOS places the pathname into the pasteboard it will
have the appropriate syntax (escaping out the spaces) as needed for te
Jermey,
follows code that should resolve your conversion to posix
//fileutl_Path_Convert_to_Posix
//$1 - Text - Path to convert
//Original from JorgeChB via iNug
//Converts a Mac file path to a Posix form
//RETURNS - Text - converted path, or empty string if path is empty,
or error
Hi Jeremy,
Two options:
- surround your path with single quotes. If the path itself includes quotes,
you will need to escape them.
'/Users/jeremyfrench/Desktop/test_notarize_01/test_notarize_01_Build/Final
Application/test_notarize_01.app/'
- escape the spaces:
/Users/jeremyfrench/Desktop/te
How do we resolve POSIX file path syntax between 4D and Mac Terminal?
This Mac system path has a space in the folder name "Final Application":
Macintosh
HD:Users:jeremyfrench:Desktop:test_notarize_01:test_notarize_01_Build:Final
Application:test_notarize_01.app:
4D's POSIX shows the space in "F
4 matches
Mail list logo