add date to filenames Jun 23, 2019 • ulysses Here’s how to add date stamps to filenames. Uses epoch time. tar cpzf mybackup-`date +%s`.gz /home/user