From 886335898dc7608e983383eb038b0201491df09f Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Thu, 14 Jan 2016 07:44:19 +0100 Subject: [PATCH] =?utf8?q?[ftp]=20Vid=C3=A9os=20est=20maintenant=20splitt?= =?utf8?q?=C3=A9=20sur=20plusieurs=20disques?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ftp/recreate_links.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ftp/recreate_links.sh b/ftp/recreate_links.sh index dbb4997..61c0ff9 100755 --- a/ftp/recreate_links.sh +++ b/ftp/recreate_links.sh @@ -12,11 +12,12 @@ find . -type l \! -name '\.*' \! -name "motd" \! -name "welcome\.msg" -exec rm { ln -s /media/Epsilon/books/ ln -s /media/Epsilon/MP3/ ln -s /media/Epsilon/Films/ -ln -s /media/Zêta/Vidéos/ ln -s /media/Zêta/Logiciels/ ln -s /media/Êta/Jeux/ ln -s /media/Êta/Upload/ -# Les séries +# Les séries et Vidéos cd Séries find /media/{Zêta,Epsilon,Êta}/Séries -mindepth 1 -maxdepth 1 \( -type d -or -type l \) -exec ln -s {} \; +cd ../Vidéos +find /media/{Zêta,Êta}/Vidéos -mindepth 1 -maxdepth 1 \( -type d -or -type l -or -type f \) -exec ln -s {} \; -- 2.39.2