Skip to content

change handling of GENERAL cards #100

Description

@dericed

If the camera card type isn't identified then the camera cards script deviates from its usual behavior and adds this interview:

nmaahcmm/camera_cards

Lines 418 to 440 in 76946ca

if [[ "${TAR}" == "NO" ]] && [[ -z "${CAMERA_CARD_TYPE}" ]] ; then
CAMERA_CARD_TYPE="GENERAL"
_report -b "Camera card type not identified!"
echo
printf "Select a strategy:"
echo
PS3="Selection: "
select STRATEGY in "1. Create AIP: concatenate video files and restructure metadata directories" "2. Tar: Compress camera files and folders into a tarball" "3. Both: Create AIP and also tar original package (produces two packages)" "quit"
do
if [[ "${STRATEGY}" == "1. Create AIP: concatenate video files and restructure metadata directories" ]] ; then
TAR="NO"
AIP="YES"
elif [[ "${STRATEGY}" == "2. Tar: Compress camera files and folders into a tarball" ]] ; then
TAR="YES"
AIP="NO"
elif [[ "${STRATEGY}" == "3. Both: Create AIP and also tar original package (produces two packages)" ]] ; then
TAR="YES"
AIP="YES"
fi
if [[ "${STRATEGY}" == "quit" ]] ; then echo "Bye" && exit 0 ; fi
break
done
fi

OK if I remove this part and simply proceed with the overall TAR/AIP settings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions