Last change
on this file since 36998 was 36998, checked in by davidb, 17 months ago |
Tweaks after testing
|
-
Property svn:executable
set to
*
|
File size:
294 bytes
|
Rev | Line | |
---|
[36992] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
[36998] | 3 | echo "Copying Items/HMS_* directories to ../import"
|
---|
[36992] | 4 |
|
---|
[36998] | 5 | for full_d in Items/HMS_* ; do
|
---|
| 6 | d=${full_d##*/}
|
---|
[36992] | 7 | if [ -d ../import/$d ] ; then
|
---|
| 8 | echo " Removing pre-existing ../import/$d"
|
---|
| 9 | /bin/rm -r ../import/$d
|
---|
| 10 | fi
|
---|
| 11 |
|
---|
| 12 | echo " Copying $d"
|
---|
[36998] | 13 | /bin/cp -r $full_d ../import/.
|
---|
[36992] | 14 | done
|
---|
| 15 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.