<commit_before># cp

copy a file

    cp original.txt copy.txt

copy a directory

    cp -R directory directory_copy


# Basic Usage

Copy a file:

    cp <original_file> <copied_file>

Copy a directory using the recursive (`-R`) flag:

    cp -R <original_directory> <copied_directory><commit_msg>add -i flag to cp<commit_after># cp

copy a file

    cp original.txt copy.txt

copy a directory

    cp -R directory directory_copy

prompt if will overwrite existing file

    cp -i foo.txt directoryWithFoo/


# Basic Usage

Copy a file:

    cp <original_file> <copied_file>

Copy a directory using the recursive (`-R`) flag:

    cp -R <original_directory> <copied_directory>
{'fraction_non_alphanumeric': 0.07680945347119646, 'fraction_numerical': 0.0, 'mean_word_length': 3.3184713375796178, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3576957', 'n_tokens_mistral': 231, 'n_tokens_neox': 210, 'n_words': 83}