LINUX...
Fermé
cleent
-
7 avril 2003 à 14:11
sebsauvage Messages postés 32847 Date d'inscription mercredi 29 août 2001 Statut Modérateur Dernière intervention 21 octobre 2019 - 7 avril 2003 à 14:26
sebsauvage Messages postés 32847 Date d'inscription mercredi 29 août 2001 Statut Modérateur Dernière intervention 21 octobre 2019 - 7 avril 2003 à 14:26
3 réponses
jisisv
Messages postés
3645
Date d'inscription
dimanche 18 mars 2001
Statut
Modérateur
Dernière intervention
15 janvier 2017
946
7 avril 2003 à 14:19
7 avril 2003 à 14:19
Hi,
Une solution:
cnt = $(find $thepath -maxdepth 1 -type f |wc -l)
où thepath contient le répertoire à scanner.
A toi d'adapter, améliorer selon tes besoins
Johan Daine
The software said "Requires Windows98, Win2000, or better,
So I installed Unix.
Une solution:
cnt = $(find $thepath -maxdepth 1 -type f |wc -l)
où thepath contient le répertoire à scanner.
A toi d'adapter, améliorer selon tes besoins
Johan Daine
The software said "Requires Windows98, Win2000, or better,
So I installed Unix.
jisisv
Messages postés
3645
Date d'inscription
dimanche 18 mars 2001
Statut
Modérateur
Dernière intervention
15 janvier 2017
946
7 avril 2003 à 14:23
7 avril 2003 à 14:23
Hello,
Ah, j'oubliais,
je suppose ici que tu veux un script shell.
Sinon , quel langage?
Johan
The software said "Requires Windows98, Win2000, or better,
So I installed Unix.
Ah, j'oubliais,
je suppose ici que tu veux un script shell.
Sinon , quel langage?
Johan
The software said "Requires Windows98, Win2000, or better,
So I installed Unix.
sebsauvage
Messages postés
32847
Date d'inscription
mercredi 29 août 2001
Statut
Modérateur
Dernière intervention
21 octobre 2019
15 656
7 avril 2003 à 14:26
7 avril 2003 à 14:26
où làlà... il faut vraiment que je révise mon shell, moi.
7 avril 2003 à 14:23