Project

General

Profile

Feature #4973 » uploadSEM.sh

Sargis Dallakyan, 02/20/2019 06:13 PM

 
#!/bin/bash

source /etc/profile

base_dir=/mnt/SharedData

#PATH=/usr/lpp/mmfs/bin:/usr/lib64/qt-3.3/bin:/gpfs/sw/relion/relion-2-cuda8/build/bin:/cm/shared/apps/cuda-8.0/bin:/cm/shared/apps/hdf5/1.6.10/bin:/cm/shared/apps/openmpi/open64/64/1.8.5/bin:/cm/shared/apps/torque/5.1.0/sbin:/cm/shared/apps/torque/5.1.0/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/ibutils/bin:/cm/local/apps/environment-modules/3.2.10/bin:/opt/myamisnap/bin:/gpfs/sw/bin:/usr/local/maui/bin:/emg/sw/bin:/root/bin
#export PATH
#PYTHONPATH=/opt/myamisnap/lib
#export PYTHONPATH

sessions=`find $base_dir -name upload.cfg -mtime -3`
for session in $sessions
do
/root/bin/SEM_upload.py $session
done
(3-3/3)