<commit_before>#!/bin/bash

if [ $# -ne 1 ]
then
    echo "Usage: $0 <OSGeo userid>"
    exit 1
fi

scp -rp build/html/en/* $<EMAIL>:/osgeo/pycsw/pycsw-web<commit_msg>remove -p from scp command, refactor vars<commit_after>#!/bin/bash

LOCAL_PATH=build/html/en
REMOTE_HOST=projects.osgeo.osuosl.org
REMOTE_PATH=/osgeo/pycsw/pycsw-web

if [ $# -ne 1 ]
then
    echo "Usage: $0 <OSGeo userid>"
    exit 1
fi

# change privs to be group writeable
chmod -R g+w $LOCAL_PATH

# copy documentation
scp -r $LOCAL_PATH/* $1@$REMOTE_HOST:$REMOTE_PATH
{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.012987012987012988, 'mean_word_length': 3.864864864864865, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7508270', 'n_tokens_mistral': 248, 'n_tokens_neox': 228, 'n_words': 54}