From ef51ecb38a7863ac042a450146f8dc9fa3e20078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9drix?= <cedric@abonnel.fr> Date: Sat, 8 Mar 2025 02:53:31 +0100 Subject: [PATCH] =?UTF-8?q?CORRECTION=20:=20force=20le=20t=C3=A9l=C3=A9cha?= =?UTF-8?q?rgement=20des=20fichiers=20avec=20wget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/server-mail/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/notes/server-mail/README.md b/notes/server-mail/README.md index 57954c1..bb5308a 100644 --- a/notes/server-mail/README.md +++ b/notes/server-mail/README.md @@ -26,7 +26,9 @@ Pour télécharger uniquement les scripts `.sh` et `.py` du dossier `server-mail ```bash 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 ```