Minor tweaks
This commit is contained in:
parent
4b6863b348
commit
40ecd0b4f2
12
ingest-mac.sh
Normal file → Executable file
12
ingest-mac.sh
Normal file → Executable file
@ -29,9 +29,11 @@ CURRENT_DATE=$(date +%F)
|
||||
# Moving mount points to indices, 0=Camera Mode 1=Drone Mode
|
||||
INGEST_MODE=9 # Default to an invalid mode.
|
||||
|
||||
# Mode names to be used in the script later.
|
||||
declare -a MODES
|
||||
MODES[0]="Camera"
|
||||
MODES[1]="Drone"
|
||||
|
||||
# SD card mount point
|
||||
declare -a SD_MOUNT_POINT
|
||||
SD_MOUNT_POINT[0]="/Volumes/NO NAME" # Camera
|
||||
@ -69,12 +71,12 @@ set_mode() {
|
||||
# Mode Prompt
|
||||
mode_prompt() {
|
||||
# Print the selection prompt
|
||||
echo "[ Photo/Video Ingest Script ]"
|
||||
echo "[ voidf1sh's Ingest Script ]"
|
||||
echo ""
|
||||
echo "Please select an ingest mode:"
|
||||
echo ""
|
||||
echo "[1] Camera"
|
||||
echo "[2] Drone"
|
||||
echo "[1] ${MODES[0]}"
|
||||
echo "[2] ${MODES[1]}"
|
||||
echo ""
|
||||
echo "[0] Exit"
|
||||
|
||||
@ -328,8 +330,8 @@ while true; do
|
||||
# Empty the screen
|
||||
clear
|
||||
# Print the prompt
|
||||
echo "[ Photo/Video Ingest Script ]"
|
||||
echo "Mode: ${MODES[$INGEST_MODE]}"
|
||||
echo "[ ${MODES[$INGEST_MODE]} Ingest Script ]"
|
||||
echo ""
|
||||
echo "Ingest Source Path: ${SD_MOUNT_POINT[$INGEST_MODE]}${SD_SRC_PATH[$INGEST_MODE]}"
|
||||
echo "Mac Ingest Path: $MAC_INGEST_PATH"
|
||||
echo "NAS Ingest Path: $NAS_INGEST_PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user