Add date to filenames Jun 23, 2019 • Ulysses Here’s how to add date stamps to filenames. Uses epoch time. <pre lang="bash">tar cpzf mybackup-`date +%s`.gz /home/user