From 6c79416b64670308c9bd9df1bc5a573b07b7d2d3 Mon Sep 17 00:00:00 2001 From: Reto Kromer Date: Wed, 22 Feb 2017 18:20:56 +0100 Subject: [PATCH] add regex --- migratelto | 1 + 1 file changed, 1 insertion(+) diff --git a/migratelto b/migratelto index fde852c..a8522fb 100755 --- a/migratelto +++ b/migratelto @@ -5,6 +5,7 @@ SCRIPTDIR=$(dirname "${0}") TAPE_MOUNT_POINT="/Volumes" +TAPE_SERIAL_REGEX="^[A-Z0-9]{6}(L[567])?$" TAPE_EJECT="Y" . "${SCRIPTDIR}/mmfunctions" || { echo "Missing '${SCRIPTDIR}/mmfunctions'. Exiting." ; exit 1 ; }