ابحث في الدعم

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

Closing Thunderbird from Bash

  • 1 (رد واحد)
  • 0 have this problem
  • 10 views
  • آخر ردّ كتبه 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?