hideous, but it works
ls -ltr $(date +%Y%m%d)*.xml | head -$(( $(ls -ltr $(date +%Y%m%d)*.xml | wc -l) - 1 ))And Bartus' solution above is infinitely better, reminding me once again that I must...
What bipinajith suggested is a good solution if you want all files in the file hierarchy rooted in the current directory with names that start with "20121017" and end with ".xml". If you just want...