OS X: diffFilesMac.sh script doesn't open files passed in

Having trouble installing Oxygen? Got a bug to report? Post it all here.
ebryn
Posts: 3
Joined: Thu Aug 07, 2008 8:15 am

OS X: diffFilesMac.sh script doesn't open files passed in

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: OS X: diffFilesMac.sh script doesn't open files passed in

Post 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
ebryn
Posts: 3
Joined: Thu Aug 07, 2008 8:15 am

Re: OS X: diffFilesMac.sh script doesn't open files passed in

Post by ebryn »

Seems to work if the paths are short. What's the limit of the file paths?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: OS X: diffFilesMac.sh script doesn't open files passed in

Post 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
Post Reply