Exclude path from sync: .cache, .opera/cache

master
Mike Hiretsky 14 years ago
parent 2afde8e171
commit c32a1f5c56

@ -2867,6 +2867,8 @@ or ld_bind_dn or ld_bind_pw")
--exclude="/.Xauthority" \
--exclude="/.thumbnails" \
--exclude="/.mozilla/firefox/*/Cache" \
--exclude="/.cache" \
--exclude="/.opera/cache" \
--filter="P /.googleearth" --filter="P /Home" --filter="P /Disks" \
--filter="P /.local/share/akonadi/db_data" --filter="P /.VirtualBox" \
--filter="P /.mozilla/firefox/calculate.default/urlclassifier3.sqlite" \
@ -2876,6 +2878,8 @@ or ld_bind_dn or ld_bind_pw")
--filter="P /.Xauthority" \
--filter="P /.thumbnails" \
--filter="P /.mozilla/firefox/*/Cache" \
--filter="P /.cache" \
--filter="P /.opera/cache" \
--filter="P /FTP" -a -x -v -v -v -v %s/ %s/' %(homeProfile,userHome)
elif sync == "logout":
if os.path.exists(userHome) and os.listdir(userHome) and\
@ -2891,6 +2895,8 @@ or ld_bind_dn or ld_bind_pw")
--exclude="/.kde4/socket-*" --exclude="/.kde4/share/config/phonondevicesrc" \
--exclude="/.thumbnails" \
--exclude="/.mozilla/firefox/*/Cache" \
--exclude="/.cache" \
--exclude="/.opera/cache" \
-a -x -v -v -v -v %s/ %s/'%(userHome,homeProfile)
else:
self.printERROR(_("Method syncUser: option sync=%s incorrect")\

Loading…
Cancel
Save