Backup this file

UUID: backup-this-file@h3nr1ke
Last edited:
3 weeks ago 2024-11-26, 05:49
Last commit: [8fef138e] Update Czech translations (#570)

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-2 months 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-3 months ago
you can also use ".old", ".bak" extension or "~" character at the end of a file. Example: "Filename.xxx~" ...