14 lines
326 B
Bash
Executable File
14 lines
326 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# The purpose of this script is to zip a Firefox profile and stash it to a save location.
|
|
|
|
run_directory=$(dirname $(readlink -f "$0"))
|
|
source "$run_directory/variables.conf"
|
|
|
|
# Remove old archive
|
|
rm $save_path/$file_name
|
|
|
|
# Save profile
|
|
7z a $save_path/$file_name $firefox_data_path/$profile_name
|
|
|
|
exit 0
|