"SortableDate.sh" is a Bourne shell script that outputs the current date and time in a sortable format. It's excellent for creating time-based file names.
"SortableDate.sh" takes advantage of the following shell scripts, which are also available on this site. So to use the this script, you will need to download these other scripts if you don't already have them.
"SortableDate.sh" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.
SortableDate.sh [ -f ] [ -u ]
Specify "-f" to format the display without special symbols.
Specify "-u" to display the output in UTC (Coordinated Universal) time.
I modified "SortableDate.sh" so that when you issue the "-f" flag, it would output time without the ':' symbol. Somehow, I had forgotten to implement that last time. the new version is attached below.
Did your message disappear? Read the Forums FAQ.
Spam Control | * indicates required field
No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.
Messages, files, and images copyright by respective owners.
12 Users Online
Copyright © 1996 - 2017. All Rights Reserved.