Useful for backups, etc. Example of renaming an existing file:
Code: Select all
mv /adrv_racy_extra.sfs /adrv_racy_extra_$(date +%d-%m-%Y-%H:%M).sfs
Of course also useful when creating a new file with date/time, for instance creating an sfs file with mksquashfs.