Révision 8550e097
Ajouté par Julien Enselme il y a plus de 9 ans
bin/flush-individual-databases-backups.sh | ||
---|---|---|
6 | 6 |
|
7 | 7 |
cd "${dir_individual_backup}/$1/$2" |
8 | 8 |
|
9 |
for dir in "$(ls)" ; do
|
|
9 |
for dir in $(ls) ; do
|
|
10 | 10 |
cd "${dir}" |
11 |
if [ $1 = 'auto' ] ; then
|
|
11 |
if [ "$1" = 'auto' ] ; then
|
|
12 | 12 |
flush-files.sh "${db_individual_auto_backup_number}" "${email_multi_assos}" |
13 | 13 |
else |
14 | 14 |
flush-files.sh "${db_individual_manual_backup_number}" |
Formats disponibles : Unified diff
Command subsitution are not quoted. Quotes posed problems in loop.