Solution exercice 2

#!/bin/bash

echo "Début des statistiques sur l'arborescence $1"
echo "Il y a `find $1 -type d | wc -l` répertoires"
echo "Il y a `find $1 -type f | wc -l` fichiers"


Copyright Richard Buchmann & Emmanuel Viaud, université P.M. Curie 2005, MAJ 25 février, 2007