From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-November/019806.html | 102 +++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-November/019806.html (limited to 'zarb-ml/mageia-dev/2012-November/019806.html') diff --git a/zarb-ml/mageia-dev/2012-November/019806.html b/zarb-ml/mageia-dev/2012-November/019806.html new file mode 100644 index 000000000..1e4f97c55 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-November/019806.html @@ -0,0 +1,102 @@ + + + + [Mageia-dev] Barry's cronsync script - Bugs + + + + + + + + + +

[Mageia-dev] Barry's cronsync script - Bugs

+ Barry Jackson + zen25000 at zen.co.uk +
+ Tue Nov 6 15:05:40 CET 2012 +

+
+ +
On 05/11/12 19:36, Johnny A. Solbu wrote:
+>
+> I have problems customizing it for my own use. (I'm testiing manually for the time being)
+> It won't exclude the things I say it should exclude.
+> My copy have this line:
+> ==
+> myexcludes="--exclude={debug/,backports_testing,updates_testing/}"
+> ==
+> It does Not exclude them. (Note that I am excluding all debug and _testing folders, but Not SRPMS)
+> That line used in my manuall rsync command, works. They are excluded.
+>
+> So, why won't this work in cronsync?
+>
+Hi Johnny,
+Sorry for delay - I missed the post.
+It's your syntax.
+This works using your excludes with the syntax in line 20 of this new 
+script.
+
+http://paste.kde.org/598076/
+
+I fixed another bug and changed it slightly to better display rsync 
+errors in the log.
+I have not seen any problems recently and it's running every hour. It 
+currently keeps a filecount history log as well, but that's just for 
+interest and testing.
+
+The problem with your syntax seems to be related to the {} - I don't 
+fully understand why, but it causes a pair of ' to be wrapped around the 
+--exclude option in the final rsync command :
+
+rsync -rlptgoDhHSn --stats --delete-after --delete-excluded 
+--protect-args '--exclude={debug/,backports_testing,updates_testing/}' 
+rsync://distrib-coffee.ipsl.jussieu.fr:/pub/linux/Mageia/distrib 
+/zmrepo/pub/linux/Mageia/
+
+With my syntax it appears like this:-
+
+rsync -rlptgoDhHSn --progress --stats --delete-after --max-delete=1000 
+--delete-excluded --protect-args --exclude=debug 
+--exclude=backports_testing --exclude=updates_testing 
+rsync://distrib-coffee.ipsl.jussieu.fr:/pub/linux/Mageia/distrib 
+/zmrepo/pub/linux/Mageia/
+
+Regards
+Barry
+
+ + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1