Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

os: ubuntu 12.04 LTS,
kernel: 3.8.0-35-generic kernel,

when i right click on "text file/s", i would like to have a custom menu, to run a bash, to make a backup copy of text file/s i'm right clicking on.

suppose i right click on the following three files:


suppose time stamp is 2013/12/31 23:59:59

i would like to have the following:


how do i make this little toy? any help?

share|improve this question
Have a look at this – Alex R. Feb 12 '14 at 8:34
@Alex R. hi, how do i make menu appearing only on certain type of files, like for example only plain text files or only pdf files or whatever. ? – user247117 Feb 12 '14 at 8:55

You could easily achieve this using Thunar and its Edit > Configure custom actions. See official documentation on how to do this.

This said, I would advise against such setups. More efficient is to use an automatic backup and synchronization utility such as SpiderOak, which automatically backups the selected file and keeps a history of all historic changes. See Comparison of backup tools.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.