Révision 94065d4e
Ajouté par Julien Enselme il y a environ 10 ans
other-scripts/d7-sync.sh | ||
---|---|---|
20 | 20 |
fi |
21 | 21 |
|
22 | 22 |
root=$(pwd) |
23 |
cd htmltest/sites
|
|
23 |
cd drupal7/sites
|
|
24 | 24 |
|
25 | 25 |
ret=$? |
26 | 26 |
if [ $ret -ne 0 ] ; then |
... | ... | |
35 | 35 |
fi |
36 | 36 |
mkdir $dir_site |
37 | 37 |
cd $dir_site |
38 |
rsync -rl --progress assos:~/htmltest/sites/$dir_site/* .
|
|
38 |
rsync -rl --progress assos:~/drupal7/sites/$dir_site/* .
|
|
39 | 39 |
# Change permissions for Apache |
40 | 40 |
# TODO: do something less permissive than 755 |
41 | 41 |
chmod -R 755 . |
Formats disponibles : Unified diff
Take into account 'mv htmltest drupal7'