Changeset 7993 for trunk/MagicSoft/Mars/datacenter/scripts
- Timestamp:
- 09/28/06 14:24:30 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/checktransfer
r7965 r7993 25 25 # ======================================================================== 26 26 # 27 # This script checks the transfer. 27 # This script checks the transfer: 28 # 1) the transfer of subsystem files from LP 29 # 2) the transfer of rawfiles from PIC 28 30 # 29 31 … … 31 33 printprocesslog "INFO starting $0" 32 34 35 #checking the transfer of the subsystemdata files 36 transferdir=/home/lapalma/transfer 37 dirs=`find $transferdir -type d` 38 for dir in $dirs 39 do 40 if [ "$dir" = "$transferdir" ] 41 then 42 continue 43 fi 44 files=`find $dir -maxdepth 1 -type f | wc -l` 45 if [ $files -eq 0 ] 46 then 47 continue 48 fi 49 printprocesslog "WARN $dir contains still $files files" 50 done 51 52 53 #checking the transfer of the rawfiles 33 54 dates=`ls /magic/datacenter/fromlapalma/RAW | grep -v Test` 34 55
Note:
See TracChangeset
for help on using the changeset viewer.