Skip to content

Instantly share code, notes, and snippets.

@josegar74
josegar74 / add-schema.sh
Last active September 12, 2018 13:44
Shell script add a metadata schema in GeoNetwork for development
#!/bin/bash
function showUsage
{
echo -e "\nThis script is used to add a metadata schema in GeoNetwork for development"
echo
echo -e "Usage: ./`basename $0 $1` schema_name git_schema_repository git_schema_branch"
echo
echo -e "Example:"
echo -e "\t./`basename $0 $1` iso19115-3 https://github.com/metadata101/iso19115-3 3.4.x"