From 01faa0e52ebeab59fca7d312fc5851f868b46c94 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 19 Jul 2024 11:09:51 -0300 Subject: Fix: attempt to fix the chrome syncing workflow --- firefox-chrome-sync | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 firefox-chrome-sync (limited to 'firefox-chrome-sync') 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 -- cgit v1.2.3