Last change
on this file since 37507 was 37507, checked in by davidb, 14 months ago |
Tweaks after testing
|
-
Property svn:executable
set to
*
|
File size:
830 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ ! -d ../import/Shirts ] ; then
|
---|
4 | echo "Making directory:"
|
---|
5 | echo " ../import/Shirts"
|
---|
6 | mkdir "../import/Shirts"
|
---|
7 | fi
|
---|
8 |
|
---|
9 | rsync -pav Shirts/* ../import/Shirts/.
|
---|
10 |
|
---|
11 |
|
---|
12 | if [ ! -d ../import/design-show ] ; then
|
---|
13 | echo "Making directory:"
|
---|
14 | echo " ../import/design-show"
|
---|
15 | mkdir "../import/design-show"
|
---|
16 | fi
|
---|
17 |
|
---|
18 | rsync -pav design-show/* ../import/design-show/.
|
---|
19 |
|
---|
20 |
|
---|
21 | for d in photos-from-phil photo-contributions ; do
|
---|
22 | if [ ! -d ../import/$d ] ; then
|
---|
23 | echo "Making directory:"
|
---|
24 | echo " ../import/$d"
|
---|
25 | mkdir "../import/$d"
|
---|
26 | fi
|
---|
27 |
|
---|
28 | rsync -pav $d/* ../import/$d/.
|
---|
29 | done
|
---|
30 |
|
---|
31 |
|
---|
32 |
|
---|
33 |
|
---|
34 | #
|
---|
35 | # Create .item files first ?????
|
---|
36 | #
|
---|
37 |
|
---|
38 | #if [ ! -d ../import/Lab\ manuals ] ; then
|
---|
39 | # echo "Making directory:"
|
---|
40 | # echo " ../import/Lab manuals"
|
---|
41 | # mkdir ../import/Lab\ manuals
|
---|
42 | #fi
|
---|
43 | #
|
---|
44 | #rsync -pav Lab\ manuals/* ../import/Lab\ manuals/.
|
---|
45 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.