Search Results

Search: Posts Made By: merouan
Forum: Linux 11-21-2012
3,348
Posted By bartus11
Try:ls -lt $(date +%Y%m%d)*.xml | awk 'NR>1'
Try:ls -lt $(date +%Y%m%d)*.xml | awk 'NR>1'
Forum: Linux 11-21-2012
3,348
Posted By radoulov
Add ... | sed '$d' to your command. If the...
Add ... | sed '$d' to your command.

If the desc order doesn't matter:
ls -lt "$(date +%Y%m%d)"*.xml | tail -n +1
Forum: Linux 11-21-2012
3,348
Posted By Skrynesaver
hideous, but it works ls -ltr $(date ...
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...
Forum: Debian 10-17-2012
2,544
Posted By Yoda
find . -name "20121017*.xml"
find . -name "20121017*.xml"
Forum: Debian 10-18-2012
2,544
Posted By Don Cragun
What bipinajith suggested is a good solution if...
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...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 03:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy