Page 1 of 1
OS X: diffFilesMac.sh script doesn't open files passed in
Posted: Thu Aug 07, 2008 8:18 am
by ebryn
I'm trying to launch the DiffFiles application from the Terminal on Mac OS X 10.5. I've tried passing both absolute/relative paths to the diffFilesMac.sh script, which loads up the DiffFiles application, but the files passed in aren't opened/compared.
Re: OS X: diffFilesMac.sh script doesn't open files passed in
Posted: Thu Aug 07, 2008 11:06 am
by sorin_ristache
Hello,
If the paths of the two files are absolute or are relative to the current directory of the terminal the DiffFiles application should open and compare them. Please specify what is the current directory of your terminal, what are the absolute paths of the two files passed as parameters, what is the command executed in the terminal and what is the error message.
Regards,
Sorin
Re: OS X: diffFilesMac.sh script doesn't open files passed in
Posted: Fri Aug 15, 2008 6:38 am
by ebryn
Seems to work if the paths are short. What's the limit of the file paths?
Re: OS X: diffFilesMac.sh script doesn't open files passed in
Posted: Fri Aug 15, 2008 11:15 am
by sorin_ristache
The file path limit is 255 characters on Mac OS X. If you use a relative file path: is the path that results from resolving it relative to the current directory longer that 255 characters? In that case you should use a shorter path.
Regards,
Sorin