Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi *,

On Sun, Jul 14, 2013 at 9:56 PM, elcico2001 एल्चिको <elcico2001@yahoo.it> wrote:
Il 14/07/2013 19:27, David Nelson ha scritto:
[...]
http://download.documentfoundation.org/libreoffice/stable/4.0.4/win/x86/

you don't see the torrents, but they are in that directory, they just don't
appear in the html page.

Well, technically they are not in that directory, but are generated on
request (as the regular mirrors from the requesting user's region are
added as websources)

If you want to do some seeding, here is a little "_n__ot-server-stressing_"
ready-to-use script I made myself.
Of course I assume you're on linux and you have qt-transmission installed
(otherwise change the script as needed); create your own .sh file, make it
executable... and you're done.

As most clients suitable for larger-scale seeding allow watching a
directory, just downloading the torrents to that directory probably is
easier.


cd ~
wget -r --no-parent -A.mirrorlist,torrent --limit-rate=40k --wait=20
--reject exe,asc,html,magnet $url_libo_win
sleep 1

Absolutely no need to do any recursive reading here. The name is
deterministic. Just append ".torrent" to the regular URL and you'll
get the torrent.

And when you intend to seed the torrent, there's no point in
downloading the actual file using the traditional mirrors.

So instead of trying to parse html (the download-directory listing) /
using recursive wget, just use rsync to get the listing and filter to
your liking to limit the files you want to seed.

rsync -r rsync://rsync.documentfoundation.org/tdf-pub | awk
'/yourfilter/{print "http://download.documentfoundation.org/"; $5
",torrent"}' | xargs -r wget

instead of doing the filtering in awk, you can also use rsync's
switches. But that way you can just create the list of files with
rsync once, and then use the file as awk's input.

ciao
Christian

-- 
To unsubscribe e-mail to: website+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.