Si le fichier n'existe pas
#!/bin/bash
file="/.config/backup.cfg"
if [ ! -f "$file" ]
then
echo "$0: File '${file}' not found."
fi
Ill Ibis
#!/bin/bash
file="/.config/backup.cfg"
if [ ! -f "$file" ]
then
echo "$0: File '${file}' not found."
fi