> What is the relation between the last two if branches? A small addition is proposed for this bash script. > If the first one fails, does that mean that $COCCI has no definition? No. - It was checked if an empty sting was passed. A file system check is tried then to determine if a valid directory was specified. This parameter could be used then for the specification of a specific start directory for calling the tool “find”, couldn't it? > In that case, is the final else useful? Hopefully, yes. Which software behaviour do you expect for a string which would not be recognised as an usable directory in a specific moment during script execution? Regards, Markus