on /etc/fstab add --------------------------------- tmpfs /home/kai/.mozilla/firefox/2etzk6x3.default tmpfs size=128M,user,exec,ui$ ------------------------ mount -a ----------------- shh.sh #!/bin/bash # Change this to match your correct profile PROFILE="2etzk6x3.default" cd "${HOME}/.mozilla/firefox" if test -z "$(mount | grep -F "${HOME}/.mozilla/firefox/${PROFILE}" )" then mount "${HOME}/.mozilla/firefox/${PROFILE}" fi if test -f "${PROFILE}/.unpacked" then rsync -av --delete --exclude .unpacked ./"$PROFILE"/ ./profile/ else rsync -av ./profile/ ./"$PROFILE"/ touch "${PROFILE}/.unpacked" fi exit -------------------------------------- fc.sh rm -rfd /home/kai/.mozilla/firefox/2etzk6x3.default/* ---------------------------------------------
blog about linux tricks