I need a program i.e. code of perl script for the following requirement: I shall be passing the directory along with the path and date in mm/dd/yyyy format as params to this perl script and then under this directory path there are sub directories eg dir1 ,dir2, dir3. Now the perl program has to go to each sub directory and match the date of each file with the passed input date parameter. It has to generate a report like this VENDOR TECHNOLOGY Node name Files not matched -------------------------------------------------------------------------------------------------------- ERICSSON GSM NODE-A 1.A ERICSSON GSM NODE-A 2.B ------------------------------------------------------------------------------------------------------ Total files not matched =2 and total number of files=10((in this diectory/node) ---------------------------------------------------------------------------------------------------------- VENDOR TECHNOLOGY Node Name Files not Matched ------------------------------------------------------------------------------------------------------------ ERICSSON GSM NODE-B 1.C ERICSSON GSM NODE-B 2.C --------------------------------------------------------------------------------------------------------------------- Total files not matched=2 and total number of files=20 (in this diectory/node) --------------------------------------------------------------------------------------------------------------- Summary %success=26/30*100 =86.67%
In reply to Please advice by ashish_sun123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |