X-Git-Url: http://gitweb.pimeys.fr/?p=scripts-20-100.git;a=blobdiff_plain;f=ftp%2Frecreate_links.sh;h=92c713923ff441ead973237aea1de012b07dcb1d;hp=61c0ff9973e903596db2d6e138fe1dbe13f5d1de;hb=e5b4326006a31765e933303617d3628eaf20fbfd;hpb=82e79c25537003efb6dd497373e9027b83c51d4b diff --git a/ftp/recreate_links.sh b/ftp/recreate_links.sh index 61c0ff9..92c7139 100755 --- a/ftp/recreate_links.sh +++ b/ftp/recreate_links.sh @@ -4,7 +4,7 @@ cd /home/ftp ## On commence par nettoyer -find . -type l \! -name '\.*' \! -name "motd" \! -name "welcome\.msg" -exec rm {} \; +find . -type l \! -name '\.*' \! -name "motd" \! -name "welcome\.msg" -delete ## Puis on recrée les liens ### Penser : sous jessie, l'option -r existe et c'est cool pour sshfs & co