ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/JOBROBOT/MoveFinishedProjectsToBackup
Revision: 1.1
Committed: Wed Jun 28 23:50:44 2006 UTC (18 years, 10 months ago) by gutsche
Branch: MAIN
CVS Tags: JOBROBOT_1_0006, JOBROBOT_1_0005, HEAD
Error occurred while calculating annotation data.
Log Message:
changes for CMSSW_1_2_0_pre7

File Contents

# Content
1 #!/bin/sh
2 #
3 # move finished projects to backup directory
4 #
5
6 source=/1/CMSSW_0_6_1/src
7 destination=/data1/JobRobot/CleanedProjects
8
9 cd $source
10 for f in state/init/tasks/*/*/*/*; do
11 [ -f $f/TASK_FINISHED.txt ] || continue;
12 mkdir -p $destination/$(dirname ${f})
13 mv $f $destination/${f}
14 done