@@ -0,0 +1,1085 @@
+#!/usr/bin/python%0Aimport os%0Aimport sys%0Aimport shutil%0A%0Aif len(sys.argv) %3C 3:%0A    print %22Usage: firefox-backup-profile %3Csource directory%3E %3Cbackup directory%3E%22%0Aelif not os.path.isdir(sys.argv%5B1%5D):%0A    print %22Given source is not am existing directory: %22 + sys.argv%5B1%5D%0Aelif not os.path.isdir(sys.argv%5B2%5D):%0A    print %22Given target is not am existing directory: %22 + sys.argv%5B2%5D%0Aelse:%0A    shutil.copy(os.path.join(sys.argv%5B1%5D, %22places.sqlite%22), sys.argv%5B2%5D) # Bookmarks, Downloads, Histoy%0A    shutil.copy(os.path.join(sys.argv%5B1%5D, %22cookies.sqlite%22), sys.argv%5B2%5D) # Cookies%0A    shutil.copy(os.path.join(sys.argv%5B1%5D, %22key3.db%22), sys.argv%5B2%5D) # Passwords%0A    shutil.copy(os.path.join(sys.argv%5B1%5D, %22logins.json%22), sys.argv%5B2%5D) # Passwords%0A    shutil.copy(os.path.join(sys.argv%5B1%5D, %22formhistory.sqlite%22), sys.argv%5B2%5D) # Autocomplete history%0A    shutil.copy(os.path.join(sys.argv%5B1%5D, %22cert8.db%22), sys.argv%5B2%5D) # Certificates%0A    shutil.copy(os.path.join(sys.argv%5B1%5D, %22handlers.json%22), sys.argv%5B2%5D) # Download settings%0A    shutil.copy(os.path.join(sys.argv%5B1%5D, %22prefs.js%22), sys.argv%5B2%5D) # Preferences%0A

Add firefox backup script