wget works on Mac too if you reffer to my script?
I will test it on my Mac this evening.. Just in case

Mats

On Thursday, February 19, 2015, nitish pandey <[email protected]
<javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:

> on mac?
>
> 2015-02-19 19:47 GMT+05:30 Mats Stromberg <[email protected]>:
>
>> For thoose who who work on a linux machine/laptop I did a small handy
>> script that runs every morning on my machine...
>> One just have to adjust the paths to fit your own environment... I have
>> my nightly on an external USB drive...
>> It' simply crfeates a new folder for each day and if the releasehistory
>> is the same as the day before it only downloads the releasnotes.  If the
>> releasenotes is the same as 2 days ago it will simply delete the folder
>> from 2 days ago... to not waste space on duplicates...
>> I hope that I have the correct checks in the script to make sure atleast
>> 1 download stays for each "new" releasnote :)  otherwise feel free to fix
>> it :)
>>
>> Mats
>>
>> #!/bin/bash
>> #
>> # Downloading Nightly Build of OpenBD
>>
>> TODAY=`date +%Y%m%d`
>> YESTERDAY=`date -d "yesterday 13:00 " '+%Y%m%d'`
>> TWODAYSAGO=`date --date="2 day ago 13:00" +'%Y%m%d'`
>>
>> cd /media/mast/TOSHIBA\ EXT/Downloads/Internet/CFML/OpenBD/nightly
>> mkdir ${TODAY}
>> cd ${TODAY}
>> mkdir OpenBD
>> mkdir Plugins
>> cd OpenBD
>> # wget https://github.com/aw20/jettydesktop
>> wget -O releasenotes.html http://openbd.org/notes/
>> # Check if the new Nighly differs from yesterday
>> if cmp -s "releasenotes.html"
>> "../../${YESTERDAY}/OpenBD/releasenotes.html"
>> then
>> rm -R ../Plugins
>> echo "No changes since yesterdays Nightly Build"
>> else
>> wget -c https://github.com/aw20/jettydesktop/raw/master/JettyDesktop.zip
>> wget -c http://openbd.org/download/nightly/jetty-openbd.zip
>> wget -c http://openbd.org/download/nightly/openbd.war
>> wget -c http://openbd.org/download/nightly/OpenBlueDragon.jar
>> wget -c http://openbd.org/download/nightly/OpenBDJAM.sh
>> wget -c http://openbd.org/download/nightly/openbluedragon-src.zip
>> cd ../Plugins
>> wget -c http://openbd.org/download/nightly/openbdplugin-wiki.jar
>> wget -c http://openbd.org/download/nightly/openbdplugin-wiki-src.zip
>> wget -c http://openbd.org/download/nightly/openbdplugin-message.jar
>> wget -c
>> http://openbd.org/download/nightly/openbdplugin-messagejar-src.zip
>> wget -c http://openbd.org/download/nightly/openbdplugin-cflib.jar
>> wget -c http://openbd.org/download/nightly/openbdplugin-cflib-src.zip
>> echo OpenBD ${TODAY} Nightly Build has been downloaded
>> fi
>> # Check if releasenotes.html from 2 days agao also differs
>> cd /media/mast/TOSHIBA\ EXT/Downloads/Internet/CFML/OpenBD/nightly
>> echo "Comparing this download with the one from ${TWODAYSAGO}"
>> if [ -d "${TWODAYSAGO}" ]; then
>> if cmp -s "${TODAY}/OpenBD/releasenotes.html"
>> "${TWODAYSAGO}/OpenBD/releasenotes.html"
>> then
>> echo "Releasenotes is the same"
>> if [ -f "${TWODAYSAGO}/OpenBD/jetty-openbd.zip" ]
>> then
>> echo "This is the current Nightly Build"
>> else
>> echo "Removing the download from ${TWODAYSAGO}"
>> rm -R ${TWODAYSAGO}
>> fi
>> fi
>> else
>> echo Nothing to do!
>> fi
>> # OpenBD Nightly downloaded...
>> cd /home/mast
>>
>>
>> On Thu, Feb 19, 2015 at 2:52 PM, Alan Williamson <[email protected]> wrote:
>>
>>> Jeff, we'll be rolling a new version around spring time ... but in
>>> reality, that is simply solidifying the nightly release.
>>>
>>> The nightly releases are very stable, it is what we use in production
>>> for aw2.0 clients.
>>>
>>> There is a rather juicy feature coming up very soon ... we're putting
>>> the final touches on it now.
>>>
>>> Keep an eye on the release notes - there is a lot of activity in these.
>>>
>>>
>>> On 19/02/2015 08:50, Jeff Striegel wrote:
>>>
>>>> Hello..
>>>> Hope I am not in the wrong place for this question but I was wondering
>>>> when the next version of OpenBD will be released and what are some major
>>>> enhancements, if any?
>>>>
>>>
>>> --
>>> --
>>> online documentation: http://openbd.org/manual/
>>> http://groups.google.com/group/openbd?hl=en
>>>
>>> --- You received this message because you are subscribed to the Google
>>> Groups "Open BlueDragon" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> *Mats Strömberg*
>> *NETWORK 23*
>> *Oracle Tablespace Report (Open Source)*
>> Project Homepage: www.project-otr.org
>> Source Code: Google Code
>> <http://code.google.com/p/oracle-tablespace-report/source/checkout>
>> Still paying to use CFML? Keep your money and switch to OpenBD
>> <http://www.openbluedragon.org>
>>
>> --
>> --
>> online documentation: http://openbd.org/manual/
>> http://groups.google.com/group/openbd?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Open BlueDragon" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> -Nitish
> "Imagination is more powerful than Knowledge"
>
> --
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Open BlueDragon" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>


-- 
*Mats Strömberg*
*NETWORK 23*
*Oracle Tablespace Report (Open Source)*
Project Homepage: www.project-otr.org
Source Code: Google Code
<http://code.google.com/p/oracle-tablespace-report/source/checkout>
Still paying to use CFML? Keep your money and switch to OpenBD
<http://www.openbluedragon.org>

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to