#!/bin/bash
# copy duplicate profile mozilla firefox
if [ -z "$2" ]; then
echo -n "Usage: " $0
echo " <input> <output>"
exit 1
fi
echo "First back up the bookmarks .json file; from OLD firefox profile"
echo -n "Shall I continue - please answer y/n "
read $foo
if [ "$foo" = "y" ]; then
echo "You said yes"
cp "${1}"/cert.db "${2}"/
cp "${1}"/cookies.txt "${2}"/
cp "${1}"/key3.db "${2}"/
cp "${1}"/signons3.txt "${2}"/
cp "${1}"/prefs.js "${2}"/
cp -r "${1}"/extensions "${2}"/
else
echo "You answered NO. Skipping"
fi
Tuesday, January 06, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment