source: gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/prepare/02-COPY-TO-IMPORT.sh@ 36992

Last change on this file since 36992 was 36992, checked in by davidb, 17 months ago

Some basic scripts for turin IntermusE archive files into Greenstone .item files

  • Property svn:executable set to *
File size: 262 bytes
Line 
1#!/bin/bash
2
3echo "Copying HMS_*_item directories to ../import"
4
5for d in HMS_*_item ; do
6 if [ -d ../import/$d ] ; then
7 echo " Removing pre-existing ../import/$d"
8 /bin/rm -r ../import/$d
9 fi
10
11 echo " Copying $d"
12 /bin/cp -r $d ../import/.
13done
14
Note: See TracBrowser for help on using the repository browser.