Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to transfer people from old machines over to new ones and I was trying to debate the best way to transfer their Firefox bookmarks. I know the recommended method by Mozilla is to just create a backup of the bookmarks and then importing them on the new machine. I want to be able to create a one click solution if I can so my idea was to just copy the entire %appdata%/Mozilla/Firefox directory to another drive and then place it on the new machine.

I know that I'll absolutely have to grab the profiles.ini file but are there any other pitfalls/necessary files that I've missed in doing it this way?

share|improve this question
    
See: Profile Backup & Moving your profile folder –  amiregelz Aug 20 '12 at 14:01
    
Well I understand how to backup the profile. I was hoping to avoid having to open firefox on each machine and rather create a script that could accomplish this. Thanks for the link though. –  user1399195 Aug 20 '12 at 14:04
    
I see, what about this script? You can probably modify it a little bit to suit your needs. Also, regarding your question (any other necessary files?): You can take a look at the content of the Profile folder to make sure which files you want to backup and which files are not necessary. –  amiregelz Aug 20 '12 at 14:15
    
It looks like script is just copying the profiles directory so I think it'll work. I sure appreciate your help. –  user1399195 Aug 20 '12 at 14:27
    
Report back if the script is working and achieving the goal; if so, I'll add it here as a backup. –  amiregelz Aug 20 '12 at 14:32
show 2 more comments

2 Answers

up vote 1 down vote accepted

Here is the command to copy the Firefox profile folder to a folder on the desktop. It is important to grab the profiles.ini file and not just the profile itself because the ini file tells firefox where the profile is located.

XCOPY "%APPDATA%\Mozilla" %USERPROFILE%\Desktop\FirefoxProfile /E /V /C /H /Y

And then to place it back on the computer:

XCOPY %USERPROFILE%\Desktop\FirefoxProfile "%APPDATA%\Mozilla" /E /V /C /H /Y
share|improve this answer
add comment

I want to be able to create a one click solution if I can so my idea was to just copy the entire %appdata%/Mozilla/Firefox directory to another drive and then place it on the new machine.

You should be able to do this in less then 100 lines of code.

I know that I'll absolutely have to grab the profiles.ini file but are there any other pitfalls/necessary files that I've missed in doing it this way?

If you want to avoid the possible pitfalls use the suggested method that Mozilla suggests.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.