Version 1/19 - Next » - Current version
Alex Alex, 03/07/2021 12:05 am


Using AMC in command line only

(under construction)

These instructions should help you use AMC in command line only without having to open the graphical user interface.
These instructions work with version 1.1.0 of AMC.

Creating a new project

There is no AMC command to create a new project, so you will need to create directories "manually". I use the following bash script to create the needed directories:

#!/bin/bash
# file name: new_project.sh
PROJECT_DIR=/home/me/MC-Projects

mkdir $PROJECT_DIR/$1
mkdir $PROJECT_DIR/$1/cr
mkdir $PROJECT_DIR/$1/cr/corrections
mkdir $PROJECT_DIR/$1/cr/corrections/jpg
mkdir $PROJECT_DIR/$1/cr/corrections/pdf
mkdir $PROJECT_DIR/$1/cr/diagnostic
mkdir $PROJECT_DIR/$1/cr/zooms
mkdir $PROJECT_DIR/$1/data
mkdir $PROJECT_DIR/$1/exports
mkdir $PROJECT_DIR/$1/scans

then you can create a new poject by typing:

./new_project.sh my-new-project1

amc-mill.zip (513.7 kB) shreikant kv, 01/30/2016 01:25 pm