manageSnapshots.sh: main restructured

main fct restructured in prevision of the implementation of an option
aimed at setting the depth of the sub filesystems to be considered.