#!/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