On 4 Sep 2022 at 8:09, jindam, vani wrote:

Date sent:              Sun, 04 Sep 2022 08:09:29 +0000
From:                   "jindam, vani" <jindam.v...@disroot.org>
To:                     users@global.libreoffice.org
Subject:                [libreoffice-users] possible to know still or 
fresh looking at version number?

> hello lo users,
> 
> is it possible to quickly tell whether lo is 
> fresh or still by looking at version number?
> 
> regards,
> jindam, vani
> 

Had an off-line chat with another user a while ago, but he 
wanted to be able to actually automatically download 3 
versions of latest libreoffice is there was a new one..

Had run it on 8/24 and it had download 7.4.0.3 verion, 
and just ran it now, and it downloaded the 7.4.1.1 
verions. Didn't know there was a new version, so 
expected it to download nothing but it did download all 3 
of the file sets. 86, 64 for windows and 64 rpm for linux.

Uses wget2. Note: If using wget2.exe under windows, it 
has issues if you use more than 2 threads, so would 
change to 2. Didn't try rewritten for windows..

test9d.sh script (bold echo -e is one long line)

#!/usr/bin/bash
test="https://mirror.clarkson.edu/tdf/libreoffice/testing/";
wget2 -q -N $test
testsub=$test$(grep "^<a href" <index.html | cut -f2 -d\" | tail -n 1)
echo -e "rpm/x86_64\\nwin/x86_64\\nwin/x86" >list
wget2 --max-threads=1 -q -B "$testsub" -i list
p1=$(grep "^<a href" <x86_64 | head -n 1 | cut -f2 -d\")
p2=$(grep "^<a href" <x86_64.1 | head -n 1 | cut -f2 -d\")
p3=$(grep "^<a href" <x86 | head -n 1 | cut -f2 -d\")

echo -e 
"rpm/x86_64/$p1\\nrpm/x86_64/${p1//_rpm/_rpm_helppack_en-US}\\nwin/x86_64/$p2\\nwin/
x86_64/${p2//\.msi/_helppack_en-US.msi}\\nwin/x86/$p3\\nwin/x86/${p3//\.msi/_helppack_en
-US.msi}" >test9

wget2 --max-threads=8 -q -nc -B "$testsub" -i test9
rm index.html list x*

That was written to actually just do download. Picked a 
specific mirror I found to be fast from my location, you 
might find another that works better for you.





> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


+------------------------------------------------------------+
 Michael D. Setzer II - Computer Science Instructor 
(Retired)     
 mailto:mi...@guam.net                            
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins                        
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to