script to detect new directory and move contents
Anybody could help my scenario with shell script, I am very new to this.
1. Everyday there will be a directory is getting updated with some contents in a server, I should be able to find the latest directory in that based on particular string and copy to another directory with date. Any idea. using shell script.
directory structure will be `date`/mystring-.xxx/
Every day the date directory will be updated to that days date. Parameterized would be great.