#!/bin/ksh 
# ---> Verification de l'usage :                         
if [ $# != 3 ] 
then                                                     
   echo                                                  
   echo " Usage : `basename "$0"` [nbre-jours] [repertoire] [format-fichier]" 
   echo " Exempl: `basename "$0"` 30 /user/commun '*.p' (depuis 30 jours)"
   echo                                                  
   exit 1                                                
else                                                     
   DEPUIS=-"$1"                                          
   REPERT="$2"
   FORMATF="$3"
fi                                                       
find $REPERT -type f -mtime "$DEPUIS" -name "$FORMATF" -size -800 | sort -u 
