Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Closing Thunderbird from Bash

  • 1 antwoord
  • 0 hebben dit probleem
  • 10 weergaven
  • Laatste antwoord van 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,

Alle antwoorden (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?