Command line MacOS

All about Mac OS portage
Post Reply
derelict
Posts: 1
Joined: Thu Jul 23, 2020 5:17 pm

Command line MacOS

Post by derelict »

I know this question has been asked and answered numerous times for Windows machines, but I have not found a question/answer regarding MacOS. I've moved the CC app and executable into the same directory as my files, and then navigated to that directory in terminal, and enetered a simple command: CloudCompare -O Site_01_1_Scan.laz

However, I still receive the error: sh: CloudCompare: command not found

Any suggestions for MacOS and command line?
dreiländereck
Posts: 15
Joined: Sun Feb 28, 2021 9:06 am

Re: Command line MacOS

Post by dreiländereck »

derelict wrote: Thu Jul 23, 2020 5:27 pm Any suggestions for MacOS and command line?
Yes.

First, you do not have to copy the CloudCompare.App outside the application folder. It will be found there from the "open" command.

The right command will be:

Code: Select all


open -a CloudCompare.app --args -O full_path_here/Site_01_1_Scan.laz

Regards Sebastian
Post Reply