Skip to main content
added 3 characters in body
Source Link
asoundmove
  • 2.5k
  • 4
  • 25
  • 27

You should be able to use date.
Type info date or man date for details.

Something like the following might suit you (change the date format to your needs)

yourcommand > filepathandnameprefix$(date +"%D+"\%d-%m\%m-%Y"\%Y").extension

You should be able to use date.
Type info date or man date for details.

Something like the following might suit you (change the date format to your needs)

yourcommand > filepathandnameprefix$(date +"%D-%m-%Y").extension

You should be able to use date.
Type info date or man date for details.

Something like the following might suit you (change the date format to your needs)

yourcommand > filepathandnameprefix$(date +"\%d-\%m-\%Y").extension
Source Link
asoundmove
  • 2.5k
  • 4
  • 25
  • 27

You should be able to use date.
Type info date or man date for details.

Something like the following might suit you (change the date format to your needs)

yourcommand > filepathandnameprefix$(date +"%D-%m-%Y").extension