CORRECTION : force le téléchargement des fichiers avec wget

This commit is contained in:
2025-03-08 02:53:31 +01:00
parent e123bb115b
commit ef51ecb38a

View File

@@ -26,7 +26,9 @@ Pour télécharger uniquement les scripts `.sh` et `.py` du dossier `server-mail
```bash ```bash
wget -O scripts.txt "https://git.abonnel.fr/cedricAbonnel/notes-techniques/raw/branch/main/notes/server-mail/scripts/scripts.txt" wget -O scripts.txt "https://git.abonnel.fr/cedricAbonnel/notes-techniques/raw/branch/main/notes/server-mail/scripts/scripts.txt"
wget -P . --no-cache -i scripts.txt while read -r url; do
wget -O "$(basename "$url")" "$url"
done < scripts.txt
``` ```