Project

General

Profile

Revision 1900469e

Added by Julien Enselme about 9 years ago

flush-full-databases-backups.sh and flush-individual-databases-backups.sh can print help.

Their argument are still positionnal.

View differences:

bin/flush-individual-databases-backups.sh
1 1
#!/bin/sh
2 2

  
3
. /home/assos/bin/scripts-config.sh
3
usage() {
4
    echo "ARGS: manual or auto, Drupal version."
5
}
6

  
7
. /home/assos/bin/print-help-if-required.sh
4 8

  
5
# ARGS: manual or auto, Drupal version
9
. /home/assos/bin/scripts-config.sh
6 10

  
7 11
cd "${dir_individual_backup}/$1/$2"
8 12

  

Also available in: Unified diff