Closing Thunderbird from Bash
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,
모든 댓글 (1)
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?