#!/bin/bash explorer { for i in * do if [ -d $i ] then cd $i explorer() cd .. fi if [ -f $i ] then ce_que_t_as_a_faire fi done } explorer()