come si fa va vedere se un nome e' un file o una cartella ?


stat --printf %F nome