root / bin / flush-full-databases-backups.sh @ d808fa20
1 |
#!/bin/sh |
---|---|
2 |
|
3 |
usage() { |
4 |
echo "ARGS: Drupal version" |
5 |
} |
6 |
|
7 |
. /home/assos/bin/print-help-if-required.sh |
8 |
|
9 |
. /home/assos/bin/scripts-config.sh |
10 |
|
11 |
cd "${dir_full_backup}/$1" |
12 |
|
13 |
for dir in $(ls) ; do |
14 |
cd "${dir}" |
15 |
flush-files.sh -n "${db_full_backup_number}" -m "${email_multi_assos}" |
16 |
cd - |
17 |
done |