can some one help me in writing a shell script to monitor 2 folders every night, and automatically send an e-mail(with the newly created folder names) if any new folder is created in those 2 folders
folder paths : //184.108.40.206/rem/DPI/Usr and //220.127.116.11/rem/DPI/Usr/Local
for example. If a new folder named 1802 is created under the //18.104.22.168/rem/DPI/Usr, the email which will be sent at night should contain that folder name. If multiple folders are created, then all those folder names must be emailed.