Re: POSIX Path Syntax (How to convert from 4D POSIX to Terminal POSXIX?)

2019-06-24 Thread Jody Bevan via 4D_Tech
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

Re: POSIX Path Syntax (How to convert from 4D POSIX to Terminal POSXIX?)

2019-06-24 Thread Chip Scheide via 4D_Tech
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

Re: POSIX Path Syntax (How to convert from 4D POSIX to Terminal POSXIX?)

2019-06-24 Thread Koen Van Hooreweghe via 4D_Tech
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

POSIX Path Syntax (How to convert from 4D POSIX to Terminal POSXIX?)

2019-06-24 Thread Jeremy French via 4D_Tech
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