Neue Verzeichnisse finden

Florian Lohoff flo at rfc822.org
Mon Jan 26 16:35:00 CET 2004


On Mon, Jan 26, 2004 at 04:22:35PM +0100, Dieter Franzke wrote:
> > find /path -type d -ctime -24 -exec /path/to/script {} \;
> 
> ..sollte das nicht heißen: -ctime 1
> 
> man find:
>  -ctime n[smhdw]
> If no units are specified, this primary evaluates to true if the  
> difference between the time of last change of file status infor-
> mation and the time find was started, rounded up to the next full
> 24-hour period, is n 24-hour periods.
> 
> (arbeite allerdings gerade mit BSD, von daher will ich mich jetzt 
> nicht zu weit aus dem Fenter hängen) Manchmal gibbet es da ja 
> Unterschiede.

Hast recht - es gibt ctime und cmin und das eine sind tage das andere
minuten.

Flo
-- 
Florian Lohoff                  flo at rfc822.org             +49-171-2280134
                        Heisenberg may have been here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20040126/418c2c53/attachment.sig>


More information about the Linux mailing list