When I run Duplicacy CLI in Windows 11, I can’t seem to grasp appending a date to the log file, along the lines of what happens with the prune command. For example, prune-log-20221129-1243571
Borrowing from posts here I started with batch commands…
Set Log="%Temp%\backup-log.txt"
"C:\Program Files\Duplicacy\duplicacy.exe" -log backup -stats -dry-run > %Log%
This drops an expected log file “backup-log.txt”. So far… so good. Modifying the set command to:
Set Log="%Temp%\backup-log.%DATE%.txt"
"C:\Program Files\Duplicacy\duplicacy.exe" -log backup -stats -dry-run > %Log%
Borrowed from this post
Yields… The system cannot find the path specified.
Thanks for your help!