diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-19 11:09:51 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-19 11:09:51 -0300 |
commit | 01faa0e52ebeab59fca7d312fc5851f868b46c94 (patch) | |
tree | 0bc05d2ad4034cdd247317da0d59d284b5fbeb75 /firefox-chrome-sync | |
parent | 80cfb185fa2ccd974f9caa7d82065c7f8ad4e0fa (diff) | |
download | firefoxer-01faa0e52ebeab59fca7d312fc5851f868b46c94.tar.gz firefoxer-01faa0e52ebeab59fca7d312fc5851f868b46c94.tar.bz2 |
Fix: attempt to fix the chrome syncing workflow
Diffstat (limited to 'firefox-chrome-sync')
-rwxr-xr-x | firefox-chrome-sync | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/firefox-chrome-sync b/firefox-chrome-sync new file mode 100755 index 0000000..f7ee418 --- /dev/null +++ b/firefox-chrome-sync @@ -0,0 +1,18 @@ +#!/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 + rsync -av --delete $BASEDIR/chrome/ $profile/chrome/ +done |