mardi 21 avril 2015

How to loop through files in directory with order

Vote count: 0

I would like to loop through a directory with a certain order. Let 's say I have files named 1,2,3,4 in the directory. When I use for i in *; , I get this order 1,2,3,4. How can I change it to get the other order 4,3,2,1

asked 2 mins ago



How to loop through files in directory with order

Aucun commentaire:

Enregistrer un commentaire