Generate a filename that include date and time
Posted on 2013-11-13
I'm using in Ubuntu the command "import capture.png" to save a screen capture to the file capture.png, but I need that every time that I run this command, the filename will be updated include the date and time , for example:
capture2013-11-14-2200.png or something like this
I try to with the command "import capture$date(%Y-%m%d)" but doesn't work.
Could you give me the command to dynamic generate the filename including datetime stamp?
Thanks in advance