File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Shell Script

 
Sid varma
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 : //198.21.2.1/rem/DPI/Usr and //198.21.2.1/rem/DPI/Usr/Local

for example. If a new folder named 1802 is created under the //198.21.2.1/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.

thanks in advance
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please note that Java Ranch is NotACodeMill. Also, EaseUp.

Having said that, you are more likely to get some help if you post the script you have put together so far and describe what parts you are having problems with.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic