Numbe of files in case statement
Hi Guys,
I need a script where script should detect the files from a directory and allows me to choose from them like we do in case or select statement, upon providing number it should automatically pickup that file and it will be mailed out. The glitch here is the files will get appended everyday and will have $DATE appended to it.
Any clue how can I achieve that?
like this
Which file would like to send
1] a.txt
2] b.txt
3] c.txt
4] d.txt
Option : 1
|