Révision 653aeb8e
Ajouté par Julien Enselme il y a environ 9 ans
bin/d7-all-dump-individual.sh | ||
---|---|---|
23 | 23 |
|
24 | 24 |
|
25 | 25 |
. /home/assos/bin/scripts-config.sh |
26 |
. scripts-utils.sh |
|
26 |
. /home/assos/bin/scripts-utils.sh
|
|
27 | 27 |
|
28 | 28 |
|
29 | 29 |
current_date=$(date "+%Y-%m-%d-%Hh%Mm%Ss") |
30 | 30 |
|
31 | 31 |
cd "${d7_dir_sites}" |
32 | 32 |
|
33 |
# cut -c3- is used to transform directories from ./<dirname> to <dirname> |
|
33 | 34 |
for dir in $(find . -maxdepth 1 -mindepth 1 -type d ! -name all | cut -c3-); do |
34 | 35 |
cd "${dir}" |
35 | 36 |
drush cc all |
Formats disponibles : Unified diff
Various correction in scripts.