[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: How to find all files created on a specific date???
- From: Thornton Prime <thornton yoyoweb com>
- To: <redhat-list redhat com>
- Subject: Re: How to find all files created on a specific date???
- Date: Thu, 1 Feb 2001 10:59:50 -0800 (PST)
On Thu, 1 Feb 2001, Bret Hughes wrote:
> BTW I could not find a good way to determin the number of days between two dates
> using bash. What would be a good way to do this?
date -d '5 days ago'
will give you the date five days ago which is prettyu helpful. You
probably could do
FIRST=`date -d "1 month ago" +"%j"`
SECOND=`date +"%j"`
echo "${SECOND} - ${FIRST}" | bc
thornton
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]