<commit_before>#!/usr/bin/env bash


SOURCE=$( greadlink -f "$(dirname "$0")/.." )
TARGET="<EMAIL>:/mnt/sda1/auth.wro.tuxlan.es"

rsync -rlpt --progress --exclude='.git*' --filter="dir-merge,- .gitignore" "$SOURCE/" "$TARGET/"<commit_msg>Deploy only what's really needed.<commit_after>#!/usr/bin/env bash


SOURCE=$( greadlink -f "$(dirname "$0")/.." )
TARGET="<EMAIL>:/mnt/sda1/auth.wro.tuxlan.es"

rsync -rlpt --progress --exclude='.git*' --filter="dir-merge,- .gitignore" "${SOURCE}/backend" "${TARGET}/"
rsync -rlpt --progress --exclude='.git*' --filter="dir-merge,- .gitignore" "${SOURCE}/bin" "${TARGET}/"
rsync -rlpt --progress --exclude='.git*' --filter="dir-merge,- .gitignore" "${SOURCE}/gateway" "${TARGET}/"
rsync -rlpt --progress --exclude='.git*' --filter="dir-merge,- .gitignore" "${SOURCE}/public_html" "${TARGET}/"
{'fraction_non_alphanumeric': 0.27075812274368233, 'fraction_numerical': 0.0048134777376654635, 'mean_word_length': 4.232704402515723, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '571769', 'n_tokens_mistral': 318, 'n_tokens_neox': 301, 'n_words': 59}