System variables in rsync file paths?

Z300M

Guru
Joined
Sep 9, 2011
Messages
882
Is it possible to include a system variable in an rsync (over SSH, if that makes a difference) task? I am thinking that it could be good to have backups of some folders for each day of the week if there is a variable that permits this. E.g., <destination-folder>/$dow/. Of course each would get overwritten every seven days, but that's fine.
 
Top