Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Closing Thunderbird from Bash

  • 1 risposta
  • 0 hanno questo problema
  • 10 visualizzazioni
  • Ultima risposta di 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,

Tutte le risposte (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?