Kate Version 18.12.1 in KDE Neon 5.14.5
For example, if I have /home/chimak/Desktop/text.txt and I edit and save it, I would like to have the backup file stored in ~/Public/Backups with a suffix like -20180122190631 (year, month, date, hour in 24h format, minutes, and seconds).
In Settings > Configure Kate > Open/Save>Advanced,
I have /home/chimak/Public/Backups/ in the Prefix box
But if I put -$(date +%Y%m%d%H%M%S) or even "-$(date +%Y%m%d%H%M%S)" in the Suffix box, both appear literally and are not converted to a time-stamp.
So after editing /home/chimak/Desktop/text.txt, ~/Public/Backups/ has test.txt-$(date +%Y%m%d%H%M%S) or test.txt-"$(date +%Y%m%d%H%M%S)" whereas what I want is test.txt-20180122190631.
The idea is to have time-stamped backups of files I edit with Kate in case I mess up and need to go back.
##############
If I use the default ~ as suffix, the incoming test.txt~ replaces the previous test.txt~.
##############
Also asked here: https://www.reddit.com/r/kde/comment..._backups_with/
For example, if I have /home/chimak/Desktop/text.txt and I edit and save it, I would like to have the backup file stored in ~/Public/Backups with a suffix like -20180122190631 (year, month, date, hour in 24h format, minutes, and seconds).
In Settings > Configure Kate > Open/Save>Advanced,
I have /home/chimak/Public/Backups/ in the Prefix box
But if I put -$(date +%Y%m%d%H%M%S) or even "-$(date +%Y%m%d%H%M%S)" in the Suffix box, both appear literally and are not converted to a time-stamp.
So after editing /home/chimak/Desktop/text.txt, ~/Public/Backups/ has test.txt-$(date +%Y%m%d%H%M%S) or test.txt-"$(date +%Y%m%d%H%M%S)" whereas what I want is test.txt-20180122190631.
The idea is to have time-stamped backups of files I edit with Kate in case I mess up and need to go back.
##############
If I use the default ~ as suffix, the incoming test.txt~ replaces the previous test.txt~.
##############
Also asked here: https://www.reddit.com/r/kde/comment..._backups_with/
Comment