Through shell script I am calling a perl script and once the script is executed, I am changing the permissions on certain folders and also converting the output file to dos format for user readability.
But this is changing the old files too. I mean for example if some files were created yesterday they have that date and timestamps. But when the script runs today it is changing their date to today's date.
So is there a way we could do based on date and time. by the way this script runs everyday at 6 through cron.
chmod -R 755 /usr/qatest/data/manifests/*
chmod -R 755 /usr/qatest/data/output/*