From 25ca72502b0eb2595296035c0ed4e561a6765ea8 Mon Sep 17 00:00:00 2001 From: Sinisa Veseli <sveseli@aps.anl.gov> Date: Thu, 8 Oct 2015 06:51:56 +0000 Subject: [PATCH] add command for file stat --- bin/dm-stat-experiment-file | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 bin/dm-stat-experiment-file diff --git a/bin/dm-stat-experiment-file b/bin/dm-stat-experiment-file new file mode 100755 index 00000000..6f032876 --- /dev/null +++ b/bin/dm-stat-experiment-file @@ -0,0 +1,18 @@ +#!/bin/sh + +# Run command + +if [ -z $DM_ROOT_DIR ]; then + cd `dirname $0` && myDir=`pwd` + setupFile=$myDir/../setup.sh + if [ ! -f $setupFile ]; then + echo "Cannot find setup file: $setupFile" + exit 1 + fi + source $setupFile > /dev/null +fi +source dm_command_setup.sh + +eval "$DM_ROOT_DIR/src/python/dm/ds_web_service/cli/statExperimentFileCli.py $DM_COMMAND_ARGS" + + -- GitLab