From: Timothy Luoma <lists@tntluoma.com>
To: Shawn Halpenny <paxunix@gmail.com>
Cc: zsh-users@sunsite.dk
Subject: Re: Extract CTIME in zsh 4.2.3?
Date: Mon, 22 Aug 2005 00:44:56 -0400 [thread overview]
Message-ID: <FC045BB1-BD99-40A9-8F10-C6F7C8091071@tntluoma.com> (raw)
In-Reply-To: <44613de005082113114c9f2092@mail.gmail.com>
On Aug 21, 2005, at 4:11 PM, Shawn Halpenny wrote:
>> I have a list of files, I'd like to extract the ctime from the files,
>> preferably in yyyy-mm-dd format.
>>
>> I can't figure out any way to do that. Is it possible?
>
> If you can load the zsh/stat module, this is very easy:
>
> zmodload zsh/stat
> stat -F '%Y-%m-%d' +ctime filename
Thanks for the reply.
I may have my terminology wrong... I'm looking for the created date,
the date the file was first made, regardless of when it was last
opened or modified.
'stat' seems to change when the file is touch(1)ed
I can still see the created date in Finder, so I assume it has to be
stored SOMEWHERE.
TjL
next prev parent reply other threads:[~2005-08-22 4:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-21 20:01 Timothy Luoma
2005-08-21 20:11 ` Shawn Halpenny
2005-08-22 4:44 ` Timothy Luoma [this message]
2005-08-22 5:27 ` Timothy Luoma
2005-08-22 15:21 ` Bart Schaefer
2005-08-22 18:44 ` SOLVED (more or less) " Timothy Luoma
2005-08-22 15:24 ` Shawn Halpenny
2005-08-22 15:35 ` DervishD
2011-07-26 15:24 ` skullnobrains
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FC045BB1-BD99-40A9-8F10-C6F7C8091071@tntluoma.com \
--to=lists@tntluoma.com \
--cc=paxunix@gmail.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).