#!/bin/bash

INPUT_DIRECTORY="$1"

# The string to be replaced
OLD_STRING="#Exemples"

# The new string to use
NEW_STRING="# Exemples"


find "$INPUT_DIRECTORY" -type f | while read file; do
    # Replace the string in the file
    sed -i "s/$OLD_STRING/$NEW_STRING/g" "$file"
done
