Révision 87504d03
Ajouté par Florent Torregrosa il y a plus de 10 ans
bin/flush-files.sh | ||
---|---|---|
2 | 2 |
|
3 | 3 |
help="# ARGS: number of files to keep, [email address]\n |
4 | 4 |
# usage: flush files from a folder except a number equal to argument.\n |
5 |
It only prints a warning if scripts-utils.sh is not imported in order to be used |
|
6 |
from the terminal." |
|
5 |
# It only prints a warning if scripts-utils.sh is not imported in order to be used
|
|
6 |
# from the terminal."
|
|
7 | 7 |
|
8 | 8 |
# Check if scripts-utils.sh is imported. |
9 | 9 |
if [ -z $scripts_utils ] ; then |
bin/scripts-config.sh | ||
---|---|---|
3 | 3 |
# This script contains all the variables that are required to execute other scrits |
4 | 4 |
# (database server, backup directories,…). It is design to make other scripts |
5 | 5 |
# indendant of the current configuration and to change it without editing them. |
6 |
# *These variables must be used in scirpts*
|
|
6 |
# *These variables must be used in scripts*
|
|
7 | 7 |
|
8 | 8 |
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/users/guest/assos/bin |
9 | 9 |
PATH=$PATH:/usr/guest/assos/bin |
Formats disponibles : Unified diff
Adding comments on flush-files.sh.