Bonjour à tous,

je suis à la recherche d'aide pour créer un script qui va me permettre d'effacer le contenu de plusieurs répertoires via un script.

Les répertoires sont des répertoires personnels d'elèves.
exemple:
6a01:x:1130:508::/home/users/eleves/6emes/6a01:/bin/false
6a02:x:1131:508::/home/users/eleves/6emes/6a02:/bin/false
6a03:x:1132:508::/home/users/eleves/6emes/6a03:/bin/false
6a04:x:1133:508::/home/users/eleves/6emes/6a04:/bin/false
6a05:x:1134:508::/home/users/eleves/6emes/6a05:/bin/false
6a06:x:1135:508::/home/users/eleves/6emes/6a06:/bin/false
6a07:x:1136:508::/home/users/eleves/6emes/6a07:/bin/false
6a08:x:1137:508::/home/users/eleves/6emes/6a08:/bin/false
6a09:x:1138:508::/home/users/eleves/6emes/6a09:/bin/false
6a10:x:1139:508::/home/users/eleves/6emes/6a10:/bin/false
6a11:x:1140:508::/home/users/eleves/6emes/6a11:/bin/false
.....
J'ai 35 repertoires pas classes et j'ai les classes de :
6a à 6g
5a à 5g
4a à 4g
3a à 3i



Merci à tous pour votre aide qui me sera très précieuse.