aboutsummaryrefslogtreecommitdiff
path: root/firefox-chrome-sync
blob: c519b439aa6504f0be8bfe3f4895d787d4090b71 (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 -av --delete $BASEDIR/chrome/ $profile/chrome/
done