![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Korn Shell Script - Getting yesterdays date | frustrated1 | Shell Programming and Scripting | 20 | 12-20-2008 10:26 PM |
| Can I know find syntax to find given date files | bache_gowda | Shell Programming and Scripting | 3 | 03-26-2008 06:37 AM |
| Little bit weired : Find files in UNIX w/o using find or where command | jatin.jain | Shell Programming and Scripting | 10 | 09-19-2007 07:47 AM |
| Find files older than 20 days & not use find | halo98 | Shell Programming and Scripting | 2 | 05-18-2006 03:19 PM |
| yesterdays files | tonydsam | UNIX for Dummies Questions & Answers | 8 | 05-13-2004 07:31 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
using find to get all of yesterdays files
i tried to use "find" to get all of yesterdays files but missed something in the 24 hours logic.
can anybody help me with this one? i thought that -daystart -atime 1 was enough but i got more files |
|
||||
|
Will this look only for files accessed exactly 24 hrs before..?
What abt this: Code:
ls -trl | grep $(date -d"1 Day ago" "+%G-%m-%d") | awk ' { print $NF }'
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|