From: Vincent Le Gallic Date: Wed, 16 Apr 2014 21:15:31 +0000 (+0200) Subject: [ftp] génération de liste à coup de find et pas ls -lRLn X-Git-Url: http://gitweb.pimeys.fr/?p=scripts-20-100.git;a=commitdiff_plain;h=7fe31dadfa733356b3263251353e335f331c418f [ftp] génération de liste à coup de find et pas ls -lRLn --- diff --git a/ftp/generate_liste_fichiers.sh b/ftp/generate_liste_fichiers.sh index 92029e4..9109cf5 100755 --- a/ftp/generate_liste_fichiers.sh +++ b/ftp/generate_liste_fichiers.sh @@ -6,3 +6,4 @@ cd /home/ftp ls -lRLn --time-style=long-iso ./ > /home/ftp/liste_fichiers.txt +find -L . -type f | sort > /home/ftp/liste.txt