Adding timestamp to a filename with mv in BASH January 17, 2023 by Tarik mv server.log logs/$(date -d "today" +"%Y%m%d%H%M").log