[Wylug-discuss] Copy files by date
Smylers
smylers at stripey.com
Wed Jan 25 20:53:04 UTC 2012
linux at sh2515.plus.com writes:
> 1st thanks all for replying.
>
> [Aaron Crane writes]:
>
> > Smylers <Smylers at stripey.com> wrote:
> >
> > > FreeBSD's date command doesn't have --date
> >
> > True. But there's a workaround in this case:
> >
> > $ /bin/date -v -1d +'%F'
> > 2012-01-24
>
> 2nd how would I use this code against a file date?
Exactly as the command I gave earlier which finds files newer than the
start of today, but substituting Aaron's date command from above which
gives yesterday's date instead.
Smylers
--
http://twitter.com/Smylers2
More information about the Wylug-discuss
mailing list