Backup this file

UUID: backup-this-file@h3nr1ke
Last edited:
1 month ago 2024-10-14, 10:40
Last commit: [b7daf345] backup-this-file@h3nr1ke: Add German translation (#537)

Create a backup of the selected file by copying it and appending the suffix .bkp.

README

Close

BACKUP THIS FILE

Create a backup of the selected file by copying it and appending the suffix .bkp.

DESCRIPTION

By selecting a file and clicking "Backup this File," a new file will be created following the pattern <filename>.bkp.

If a .bkp file already exists for the selected file, the new one will be generated with an index at the end, like .bkp2.

If a .bkp2 file already exists, a .bkp3 will be created, and so on.

This is useful for backing up config files during tests.

DEPENDENCIES

The following programs must be installed and available:

  • gettext to get the correct translation to the action
  • bash to execute the commands

CHANGELOG

Open

Log In To Comment!

2 Comments

Igor Santos
Igor Santos-1 month ago
Weirdly enough, most actions I installed got enabled right when I enabled the context menu entry. However, this one only showed up on new windows.
Andre Verwijs
Andre Verwijs-2 months ago
you can also use ".old", ".bak" extension or "~" character at the end of a file. Example: "Filename.xxx~" ...