linux shell: adding date to file name

simple way to add the date to the start of a file for archiving etc..

cp test.txt backup/`date +%Y%m%d`.test.txt

Justin Kelly

Justin Kelly

Data Engineeer, Business Analytics, Web Developer, Library Technology specialising in PHP and Tableau

Based in Melbourne, Australia

Feel free to contact me justin@kelly.org.au or _justin_kelly