Nov 10, 2018

linux: copy file with a date for backup

$ cp filename.txt another.filename.`date +%Y%m%d_%H%M%S`.txt

$ cp filename.txt another.filename.`date +%F`.txt