Run batch terminal/command line
Posted: Tue Sep 21, 2021 12:39 am
I've been trying to convert a large number of ASCII PLY files into Binary PLY files. I've managed to get the terminal command to work properly -
open -a CloudCompare.app --args -O /$file -C_EXPORT_FMT PLY -PLY_EXPORT_FMT BINARY_BE -AUTO_SAVE ON -NO_TIMESTAMP -SAVE_CLOUDS -CLEAR
However, when I try to run it in a loop, a large number of files are skipped over, and it always prompts me to press Okay before continuing on. This is resulting in a large number of files that aren't being converted, and I was wondering if there was an optimal way to do this.
I have to convert 300 files for this first batch, and there might be more later on, so doing it manually isn't a viable solution.
Thanks for the help!
open -a CloudCompare.app --args -O /$file -C_EXPORT_FMT PLY -PLY_EXPORT_FMT BINARY_BE -AUTO_SAVE ON -NO_TIMESTAMP -SAVE_CLOUDS -CLEAR
However, when I try to run it in a loop, a large number of files are skipped over, and it always prompts me to press Okay before continuing on. This is resulting in a large number of files that aren't being converted, and I was wondering if there was an optimal way to do this.
I have to convert 300 files for this first batch, and there might be more later on, so doing it manually isn't a viable solution.
Thanks for the help!