I have developed a script which takes following parameter from the input file to archive log files
1)Input Path
2)File pattern(*.csv)
3)Number of days(+1)
Following is the algorithm of my script
Read the input file
go to that path and search for particular n days older file
print the file names and dump all files into new tar file, also remove the files from original directory
Also the tar file which i am creating is created with systime
Now my question is; what other parameters should be considered which will make my script more efficient and powerful?