diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-19 11:59:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-19 11:59:19 -0300 |
commit | af70bd6d561a2af42ddcdf67c28ede5975c95330 (patch) | |
tree | 7a0c91af8611096db76cbebb6cfbbd9e37dfbd78 /firefox-profile-sync | |
parent | c2b8cebc59da24b5e1b419910108b4452745dc13 (diff) | |
download | firefoxer-af70bd6d561a2af42ddcdf67c28ede5975c95330.tar.gz firefoxer-af70bd6d561a2af42ddcdf67c28ede5975c95330.tar.bz2 |
Rename firefox-chrome-sync to firefox-profile-sync
Diffstat (limited to 'firefox-profile-sync')
-rwxr-xr-x | firefox-profile-sync | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/firefox-profile-sync b/firefox-profile-sync new file mode 100755 index 0000000..3b0196a --- /dev/null +++ b/firefox-profile-sync @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +# +# Sync Firefox chrome config +# + +# Parameters +BASEDIR="`dirname $0`" +BASE="$HOME/.mozilla/firefox" +PROFILES="$BASE/profiles" + +# Go to the profiles folder +mkdir -p $PROFILES +cd $PROFILES + +# Dispatch +for profile in *; do + echo "Syncing $profile..." + rsync -q -av --delete $BASEDIR/chrome/ $profile/chrome/ +done |