From: Vincent Le Gallic Date: Mon, 18 Aug 2014 14:06:26 +0000 (+0200) Subject: [ftp] Deeper symbolic links X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=7003a75665c302b094b09e66160a6de0bc9a6c88;p=scripts-20-100.git [ftp] Deeper symbolic links --- diff --git a/ftp/recreate_links.sh b/ftp/recreate_links.sh index 54a1059..55ec706 100755 --- a/ftp/recreate_links.sh +++ b/ftp/recreate_links.sh @@ -19,4 +19,4 @@ ln -s /media/Delta/Upload/ # Les séries cd Séries -find /media/{Zêta,Epsilon,Delta}/Séries -mindepth 1 -maxdepth 1 -type d -exec ln -s {} \; +find /media/{Zêta,Epsilon,Delta}/Séries -mindepth 1 -maxdepth 1 \( -type d -or -type l \) -exec ln -s {} \;