[Wylug-discuss] Copy files by date
Smylers
Smylers at stripey.com
Wed Jan 25 10:54:55 UTC 2012
Towle, William writes:
> > running date with the %F format just gives the date without a time,
> > so is interpreted as the start of today. But you still need a way of
> > passing yesterday's date to the date command
>
> If it's available, the '--date' argument will happily calculate relative
> times suitably.
FreeBSD's date command doesn't have --date, so I suspect OS X's doesn't
either, unfortunately.
Maybe simply installing Gnu tools would be the best way round this?
Smylers
More information about the Wylug-discuss
mailing list