From: Shawn Halpenny <paxunix@gmail.com>
To: zsh-users@sunsite.dk
Subject: Re: Extract CTIME in zsh 4.2.3?
Date: Sun, 21 Aug 2005 16:11:09 -0400 [thread overview]
Message-ID: <44613de005082113114c9f2092@mail.gmail.com> (raw)
In-Reply-To: <95E667D6-6AE4-4CDA-B420-30033315C886@tntluoma.com>
On 8/21/05, Timothy Luoma <lists@tntluoma.com> 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?
>
> TjL
> zsh version 4.2.3 on Mac OS X
If you can load the zsh/stat module, this is very easy:
zmodload zsh/stat
stat -F '%Y-%m-%d' +ctime filename
--
Shawn Halpenny
next prev parent reply other threads:[~2005-08-21 20:11 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 [this message]
2005-08-22 4:44 ` Timothy Luoma
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=44613de005082113114c9f2092@mail.gmail.com \
--to=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).