SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 10:34 AM
 
Posts: n/a
Default List All Files in Directory Within a Range of Date

Hi,

Is there a way to list all of the files in a directory within a range
of date or just a specific date? Any helps are appreciated.

TIA,
-Chris

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 10:34 AM
Huge
 
Posts: n/a
Default Re: List All Files in Directory Within a Range of Date

On 2007-08-13, [email protected] <[email protected]> wrote:
> Hi,
>
> Is there a way to list all of the files in a directory within a range
> of date or just a specific date?


Yes.

Oh, you want to know what it is?

man find. Look for the 'time' options.

--
"Religion poisons everything."
[email me at huge {at} huge (dot) org <dot> uk]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 10:34 AM
 
Posts: n/a
Default Re: List All Files in Directory Within a Range of Date

On Aug 13, 12:48 pm, Huge <[email protected]> wrote:
> On 2007-08-13, [email protected] <[email protected]> wrote:
>
> > Hi,

>
> > Is there a way to list all of the files in a directory within a range
> > of date or just a specific date?

>
> Yes.
>
> Oh, you want to know what it is?
>
> man find. Look for the 'time' options.
>
> --
> "Religion poisons everything."
> [email me at huge {at} huge (dot) org <dot> uk]


For instance:

# ls -ltr /tmp
total 80
-rw-rw-r-- 1 root sys 5080 Jun 25 14:10 ps_data
drwx------ 2 root root 182 Jun 25 14:10 smc898
drwxr--r-- 2 root root 117 Jun 25 14:10 SunMCDBLogFiles
-rw-rw-rw- 1 root root 25879 Jul 15 14:07
probeserver.stderr
-rw-r--r-- 1 root other 110012 Jul 29 13 14:51 testfile
-rw-r--r-- 1 root other 143296 Aug 10 14:51 file1
-rw-r--r-- 1 root other 11 Aug 13 14:51 myfile

I basically want to be able to list all of files from Jul 15 to Aug
10. Is it possible to do that?

Thx,
-Chris

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 10:34 AM
Daniel Rock
 
Posts: n/a
Default Re: List All Files in Directory Within a Range of Date

[email protected] <[email protected]> wrote:
> I basically want to be able to list all of files from Jul 15 to Aug
> 10. Is it possible to do that?


Yes,

create reference files with the correct tim