DIRECTORIO1=/home/carolina DIRECTORIO2=/home/ignacio DIRECTORIO3=/home/julian DIRECTORIO4=/home/asche DIRECTORIO5=/home/pepe for i in 1 2 3 4 5 ; do if [ -f $DIRECTORIO$i ];then echo "
">>$DESTINO/$NOMBRE.html echo "
">>$DESTINO/$NOMBRE.html echo "En el directorio $DIRECTORIO$i hay un espacio de $(du -sh $DIRECTORIO$i | cut -f1)">>$DESTINO/$NOMBRE.html echo "
">>$DESTINO/$NOMBRE.html echo "
">>$DESTINO/$NOMBRE.html fi done