From c32a1f5c565928436e7fd96d73696701856db888 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Mon, 26 Apr 2010 09:28:36 +0400 Subject: [PATCH] Exclude path from sync: .cache, .opera/cache --- pym/cl_client.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pym/cl_client.py b/pym/cl_client.py index b00c874..f1cdea1 100644 --- a/pym/cl_client.py +++ b/pym/cl_client.py @@ -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")\