Renommer une liste de fichiers d’après une liste dans un fichier texte
# having a bunch of .jpg files in a certain order
# having a list.txt file with matching names for
# the jpg.
# this commande reads the list.txt and matches
# each nth line of the file to the nth file in
# the list, and renames them.
for file in *.jpg; do read line; mv $file "$line"; done < list.txt