FcigDM_ANWC - AtlasOfLivingAustralia/ala-datamob Wiki
Australian National Wildlife Collection: primary collection management system darwincore export
This is an implementation of a darwincore export, for one of the FCIG-OZCAM participants.
Artefacts and synopsis
There are two parts to the exporter:
The first export component is a bash shell script, anwc_dwc.bat, which is the entry point for running an export. This batch script encourages powershell.exe to connect to the sqlserver database and obtain the result of the query (see anwc_dwc.sql) into darwincore-csv format; it then compresses the data using 7zip.exe and uploads the file to the upload.ala.org.au sftp server using psftp.exe.