<commit_before>#!/bin/bash
# how to run:
# disperse_python4geosciences_file.sh [filename]

users=$1
file=$2

for id in `cat $users` ; do
    cp -rf $file /home/$id/python4geosciences/materials ;
    # removes path up to the file itself
    chown $id:$id /home/$id/python4geosciences/materials/${file##*/} ;<commit_msg>better usage examples for dispersing single file<commit_after>#!/bin/bash
# how to run:
# roster=grads.csv
# name=${roster%.*}  # remove suffix and use for file names
# sudo ./disperse_python4geosciences_file.sh users_$name.txt ../materials/1_core.ipynb

users=$1
file=$2

for id in `cat $users` ; do
    cp -rf $file /home/$id/python4geosciences/materials ;
    # removes path up to the file itself
    chown $id:$id /home/$id/python4geosciences/materials/${file##*/} ;
{'fraction_non_alphanumeric': 0.1434010152284264, 'fraction_numerical': 0.013959390862944163, 'mean_word_length': 4.123376623376624, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6976457', 'n_tokens_mistral': 300, 'n_tokens_neox': 276, 'n_words': 73}