echo-e"${ORANGE}[ERROR] You are not in a dataset directory ${GREEN}'$REFERENCE'${ORANGE}.${NC}"
echo
else
echo
echo-e"${ORANGE}[ERROR] Error in argument: invalid dataset name ${GREEN}'$REFERENCE'${ORANGE}.${NC}"
echo-e"${ORANGE}[ERROR] Only alphanumerics, dots ( . ), underscores ( _ ) and hyphens ( - ) are allowed.${NC}"
echo
if["$ALWAYS_YES"="true"];then
if![[$REFERENCE=~ $re]];then
if["$REFERENCE"="."]&&[[-z"$STORAGE"]];then
echo
echo-e"${ORANGE}[ERROR] You are not in a dataset directory ${GREEN}'$REFERENCE'${ORANGE}.${NC}"
echo
else
echo
echo-e"${ORANGE}[ERROR] Error in argument: invalid dataset name ${GREEN}'$REFERENCE'${ORANGE}.${NC}"
echo-e"${ORANGE}[ERROR] Only alphanumerics, dots ( . ), underscores ( _ ) and hyphens ( - ) are allowed.${NC}"
echo
fi
helpReadme >&2;return 1
fi
helpReadme >&2;return 1
fi
if[[$DATASET_DIR!=$REFERENCE]];then
if["$REFERENCE"="."];then
...
...
@@ -697,7 +699,7 @@ while [ "$1" != "" ]; do
shift
done
for ELEMENT in'''-d''--directory''-s''--storage''-cs''--custom-storage''-a''--advanced''-c''--chunk''-bs''--batch-size''-dc''--discard-changes''-dd''--set-description';do
for ELEMENT in'''-d''--directory''-s''--storage''-cs''--custom-storage''-a''--advanced''-c''--chunk''-bs''--batch-size''-y''--yes''-dc''--discard-changes''-dd''--set-description';do