Backup this file

UUID: backup-this-file@h3nr1ke
Last edited:
3 weeks ago 2024-08-14, 04:44
Last commit: [8747746f] Add basque translations (#466)

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!

1 Comments

Andre Verwijs
Andre Verwijs-1 week ago
you can also use ".old", ".bak" extension or "~" character at the end of a file. Example: "Filename.xxx~" ...