declare_files.sh
Go to the documentation of this file.
1 #! /bin/bash
2 #------------------------------------------------------------------
3 #
4 # Name: declare_files.sh
5 #
6 # Purpose: Declare all .json files in the current directory.
7 #
8 # Usage:
9 #
10 # declare_files.sh
11 #
12 # Qizhong Li
13 #------------------------------------------------------------------
14 
15 for json in *.json
16 do
17  echo "Declaring $json"
18  samweb -e lbne declare-file $json
19 done