From: Harry Putnam <reader@newsguy.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Finer grained date output.
Date: Fri, 19 Aug 2005 21:07:03 -0500 [thread overview]
Message-ID: <87r7cpmke0.fsf@newsguy.com> (raw)
This question is not gentoo specific but really a more general
question about date manipulation.
Like many people I use the `date' command to set file names that need to
be unique by using one of the specially formatted commands, to output
something like:
img_080905_103343.jpg
Which is img_$(date +"%m%d%y_%H%M%S").jpg or mnthdayyr_hrminsec
This is used in file renaming scripts or the like.
I want to find some tool that outputs a more fine grained reading.
Maybe adding milliseconds to output so that the unique names can be
generated in less than a second.
I know about perl scipting for this but wanted something like the
`date' command that is its own dedicated program.
Is there a unix tool that outputs a finer grain of time segments?
--
gentoo-user@gentoo.org mailing list
next reply other threads:[~2005-08-20 2:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-20 2:07 Harry Putnam [this message]
2005-08-20 2:17 ` [gentoo-user] Finer grained date output Marco Matthies
2005-08-20 2:38 ` [gentoo-user] " Harry Putnam
2005-08-20 2:58 ` Marco Matthies
2005-08-20 5:08 ` [gentoo-user] " Willie Wong
2005-08-20 11:45 ` Marco Matthies
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=87r7cpmke0.fsf@newsguy.com \
--to=reader@newsguy.com \
--cc=gentoo-user@lists.gentoo.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox