aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/backup-thunderbird
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/backup-thunderbird')
-rwxr-xr-xscripts/backup-thunderbird1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/backup-thunderbird b/scripts/backup-thunderbird
index ca67b72..2caaf2a 100755
--- a/scripts/backup-thunderbird
+++ b/scripts/backup-thunderbird
@@ -4,6 +4,7 @@ profiles=( ) # List of profiles
timestamp="$(date +"%Y%m%d-%H%M%S")-"
user_name=$(whoami)
user="$user_name/"
+home="/home/"
thunderbird_pid=$(ps -C thunderbird u | grep $user_name | awk '{print $2}') # Current thunderbird pid
# If the backup location doesn't exist yet, create it