diff options
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 |