a script to show info for updating subdirs