firefox-profile-archiving-unix/firefox-save.sh

13 lines
284 B
Bash
Raw Normal View History

2022-03-14 19:45:28 +01:00
#!/usr/bin/env bash
# The purpose of this script is to zip a Firefox profile and stash it to a save location.
source "$(dirname "$0")/variables.conf"
# Remove old archive
rm $local_path/$file_name
# Save profile
7z a $local_path/$file_name $firefox_data_path/$profile_name
exit 0