From a077887284c71a0d6952f72e568192c95950cbc9 Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Mon, 12 Sep 2011 14:33:02 +0000 Subject: [PATCH] remove ':' in snapshot file name time stamps SVN: 22894 --- openbis_all/source/bash/create-config-snapshot.sh | 2 +- openbis_all/source/bash/create-snapshot.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openbis_all/source/bash/create-config-snapshot.sh b/openbis_all/source/bash/create-config-snapshot.sh index 3bcdfbd58a9..3fa2a1de930 100755 --- a/openbis_all/source/bash/create-config-snapshot.sh +++ b/openbis_all/source/bash/create-config-snapshot.sh @@ -27,7 +27,7 @@ SERVERS="$1" REPOSITORY="$2" shift 2 -TIMESTAMP=`date +%Y-%m-%d_%H:%M:%S` +TIMESTAMP=`date +%Y-%m-%d_%H%M%S` SNAPSHOT_FOLDER_NAME="openbis-config-snapshot-$TIMESTAMP" SNAPSHOT="$REPOSITORY/$SNAPSHOT_FOLDER_NAME" diff --git a/openbis_all/source/bash/create-snapshot.sh b/openbis_all/source/bash/create-snapshot.sh index 931429f0435..c0a2de585a1 100755 --- a/openbis_all/source/bash/create-snapshot.sh +++ b/openbis_all/source/bash/create-snapshot.sh @@ -71,7 +71,7 @@ if [ ! -d "$INDEX" ]; then echo "Index folder $INDEX doesn't exist." exit 1 fi -TIMESTAMP=`date +%Y-%m-%d_%H:%M:%S` +TIMESTAMP=`date +%Y-%m-%d_%H%M%S` SNAPSHOT_FOLDER_NAME="openbis-snapshot-$TIMESTAMP" SNAPSHOT="$REPOSITORY/$SNAPSHOT_FOLDER_NAME" -- GitLab