Script per backup profilo firefox

script da creare in .sh

#!/bin/bash
backup_firefox=”firefox_backup_$(date +%Y%m%d).7zip”
mkdir /home/ecce/test
cd /home/ecce/.mozilla/firefox/nomepercorso-release/
cp places.sqlite favicons.sqlite key4.db permissions.sqlite logins.json search.json.mozlz4 persdict.dat formhistory.sqlite cookies.sqlite cert9.db handlers.json /home/ecce/test
cd /home/ecce/test
7z a $backup_firefox /home/ecce/test
cp $backup_firefox /home/ecce/Scrivania
#scp $backup_firefox pi@192.168.10.24:/home/pi/BackupFirefox
#cp $backup_firefox /mnt/synology/firefox
rm -rf /home/ecce/test
#scp -P1522 -r /home/ecce/test ecce@ecce.ddns.net:/sharedfolders/Pistolotti
#find /mnt/synology/firefox/*.7zip -mtime +30 -exec rm {} \;

exit 0

4 risposte a “Script per backup profilo firefox”

  1. Phfiery Online Casino Philippines: Best Phfiery Slot Games, Easy Login, Register & App Download. Experience the ultimate gaming at Phfiery Online Casino, the top choice for players in the Philippines! Enjoy the best Phfiery slot games with a fast Phfiery login and easy Phfiery register process. Secure your Phfiery app download today to play and win big anytime, anywhere. Join the Phfiery community now! visit: phfiery

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *