Files
freecodecamp--freecodecamp/tools/scripts/move-bf.sh
T
wehub-resource-sync dde272c4b8
i18n - Build Validation / Validate i18n Builds (24) (push) Has been cancelled
CI - Node.js / Lint (24) (push) Has been cancelled
CI - Node.js / Build (24) (push) Has been cancelled
CI - Node.js / Test (24) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (24) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 24) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 24) (push) Has been cancelled
CD - Docker - GHCR Images / Build and Push Images (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 11:55:53 +08:00

14 lines
497 B
Bash
Executable File

#!/bin/bash
# Define the source file
source_file="curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/execute-brain.md"
# Define the destination directory
destination_dir="curriculum/challenges"
# Loop through all directories except _meta and english
for dir in $(find "$destination_dir" -mindepth 1 -maxdepth 1 -type d ! -name '_meta' ! -name 'english'); do
# Copy the file to each directory
cp "./$source_file" "./$dir/22-rosetta-code/rosetta-code-challenges/"
done