aboutsummaryrefslogtreecommitdiff
path: root/firefox-profile-sync
blob: 3b0196a3c32d1516b30e8281a6939a93cdc125e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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