bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to find by birth time?


From: Eric Blake
Subject: Re: How to find by birth time?
Date: Mon, 21 Nov 2011 07:11:19 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

On 11/20/2011 10:10 AM, Peng Yu wrote:
> Hi,
> 
> stat can give birth time. Is there an option search by birth time in
> find? (I find -ctime -atime -mtime but not -btime in find.)

It would be spelled -Btime, not -btime.  But be aware that this requires
kernel support - BSD and Cygwin support birthtime as part of stat(), but
Linux does not (so it will NOT work on Linux until the kernel developers
ever give us the xstat() interface).

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]