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