Changeset 28277 for other-projects/nightly-tasks
- Timestamp:
- 2013-09-12T20:24:36+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/gen-model-colls.sh
r28240 r28277 71 71 # http://stackoverflow.com/questions/5044214/how-do-i-detect-and-or-delete-empty-subversion-directories 72 72 # http://stackoverflow.com/questions/1301203/removing-svn-files-from-all-directories 73 74 # To checkout just this file and other files at this level from trac, see 75 # http://stackoverflow.com/questions/11650156/svn-checkout-depth 76 # http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html 77 # So you would do: 78 # svn co http://svn.greenstone.org/other-projects/nightly-tasks/diffcol/trunk diffcol --depth files 73 79 74 80 #*******************************GLOBAL VARIABLES*************************** … … 140 146 141 147 # need slash on end of src dir collect/$collection/ ! 142 rsync -r --exclude=.svn/ --exclude=log/ --exclude=cache / --exclude=earliestDatestamp --exclude=fail.log --exclude=collectionConfig.bak collect/$collection/ model-collect/$collection148 rsync -r --exclude=.svn/ --exclude=log/ --exclude=cached/--exclude=cache/ --exclude=earliestDatestamp --exclude=fail.log --exclude=collectionConfig.bak collect/$collection/ model-collect/$collection 143 149 144 150 # find collect/$collection -name ".svn" -type d -exec rm -rf {} \; … … 295 301 296 302 # copy across the entire rebuilt index and archives folders to the svn model-collect 297 rsync -r --exclude=.svn/ --exclude=cache / --exclude=earliestDatestamp collect/$collection/archives model-collect/$collection298 rsync -r --exclude=.svn/ --exclude=cache / collect/$collection/index model-collect/$collection303 rsync -r --exclude=.svn/ --exclude=cached/ --exclude=cache/ --exclude=earliestDatestamp collect/$collection/archives model-collect/$collection 304 rsync -r --exclude=.svn/ --exclude=cached/ --exclude=cache/ collect/$collection/index model-collect/$collection 299 305 300 306 # need a --force to skip all the svn:ignored files (archives/earliestDatestamp) … … 382 388 383 389 # copy across the contents of the rebuilt model-collection's index and archives to the svn model-collect 384 rsync -r --exclude=.svn/ --exclude=cache / --exclude=earliestDatestamp collect/$collection/archives/* model-collect/$collection/archives385 rsync -r --exclude=.svn/ --exclude=cache / collect/$collection/index/* model-collect/$collection/index390 rsync -r --exclude=.svn/ --exclude=cached/ --exclude=cache/ --exclude=earliestDatestamp collect/$collection/archives/* model-collect/$collection/archives 391 rsync -r --exclude=.svn/ --exclude=cached/ --exclude=cache/ collect/$collection/index/* model-collect/$collection/index 386 392 387 393 # now svn add any and all the NEW items in model-collect's archives and index
Note:
See TracChangeset
for help on using the changeset viewer.