备份本机firefox
[root@localhost firefox_backup]# find / -name firefox > local_path.txt
[root@localhost firefox_backup]# vim local_path.txt
#剔除不需要的链接后,如下:
/usr/local/firefox/firefox
/usr/bin/firefox
/root/.cache/mozilla/firefox
/root/.mozilla/firefox
/home/GQ/.mozilla/firefox
/home/GQ/.cache/mozilla/firefox
#打包压缩
[root@localhost firefox_backup]# cat local_path.txt | xargs tar -jcv -f firefox-45.0.1.tar.bz2