You are here > Old programs > Save Firefox profiles Linux
Save Firefox profiles Linux
Change the following:
ramdomstring.default in CACHE
You can found it here in your home folder
cd .mozilla/firefox
Now you can see the randomstring.
#!/bin/sh
FF=$HOME/.mozilla/firefox
PROFILE=`grep "^Path" $FF/profiles.ini | awk -F"=" '{print $2}'`
CACHE=$PROFILE/Cache
DATUM=$(date +"%Y%m%d-%H:%M:%S")
test -d $FF/$CACHE
rm $FF/$CACHE/*
cd /
cd $FF
tar -cf $HOME/firefox_$DATUM.tar --exclude=Cache $FF
bzip2 -z $HOME/firefox_$DATUM.tar
Script updated (thanks for this info)
My old script
#!/bin/sh
CACHE=randomstring.default/Cache
FF=$HOME/.mozilla/firefox
DATUM=$(date +"%Y%m%d-%H:%M:%S")
test -d $FF/$CACHE
rm $FF/$CACHE/*
cd /
cd $FF
tar -cf $HOME/firefox_$DATUM.tar *
bzip2 -z $HOME/firefox_$DATUM.tar