Karen Lewellen <[email protected]> wrote:
> Hi David,
> are you suggesting a syntax like..
> ls -l -newer
> might produce results?

No, he's suggesting that there is no way to use the ls command to do
what you want, and that you should use the find command INSTEAD OF LS
to do your search. Everybody else makes much the same suggestion.
 
> Thanks,
> Kare
> <who is trying to locate a file..without its exact name.
> Oh how about
> ls -l -newer *.txt
> As a possibility?
> 
> 
> 
> On Fri, 15 May 2026, David Christensen wrote:
> 
> > On 5/15/26 20:46, Karen Lewellen wrote:  
> >>  Hi folks,
> >>  Will aim to ask this simply enough.
> >>  is there an option  for the ls command allowing you to set the
> >> date window you are searching?
> >>  For example, list only the items    added  on a certain series of
> >>  days?
> >>
> >>  Thanks,
> >>  Kare  
> >
> >
> > See find(1) section "TESTS" and the various tests related to atime,
> > ctime, and mtime (including -newer).
> >
> >
> > David
> >
> >  

Reply via email to