On 2002-11-20 23:22, How Can ThisBe <[EMAIL PROTECTED]> wrote:
> I am trying to return the creation date of a file in MMDDhhmmYY
> format. I'm sure there is a command, I just can not find it.
>
> Under cygwin the command is `date +%m%d%H%M%y -r $FILE`, however
> FreeBSD does not have this function with 'date'

FreeBSD has stat(1).

keramida@gothmog[01:50]/home/keramida> stat -f '%c' .
1037835701


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to