This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Closing Thunderbird from Bash

  • 1 antwoord
  • 0 hierdie probleem
  • 10 views
  • Laaste antwoord deur Wisewiz

more options

I am building a script to backup /home/username/.thunderbird folder every night, and I want to make sure that Thunderbird is not running while the backup is performed, and if it's running the script should close (gracefully kill) Thunderbird before performing backup.

What is the recommended Bash command to gracefully kill Thunderbird without corrupting any settings/mailbox files?

Best regards,

I am building a script to backup /home/username/.thunderbird folder every night, and I want to make sure that Thunderbird is not running while the backup is performed, and if it's running the script should close (gracefully kill) Thunderbird before performing backup. What is the recommended Bash command to gracefully kill Thunderbird without corrupting any settings/mailbox files? Best regards,

All Replies (1)

more options

Just so you'll know your question has, in fact, been read here, I'm going to offer a small suggestion:

wmctrl -c thunderbird

Does that look like a bash line you could use?