The goal of efficiency is more slack.

Friday, August 18, 2017

Linux date command

To format a date, e.g. for use in a file name:
NAME=$(date +arbitrary_string-%F/%H%M)
echo $NAME
Result:
arbitrary_string-2017-08-18/1300

0 comments:

Popular Posts

Recent Posts

Unordered List

Text Widget

Pages

Powered by Blogger.
Scroll To Top