i.e i need a script to pick the oldest file
I had input files in my input folder that are created on saturday,monday,tuesday .. i want a script such that first the script should pick saturday file ,then monday and then file created on tuesday..
i know that command .. it wil display all files with time and date ...
i want script to get the oldest file then the second oldest then the third oldest and so on...