mmocr/docs/zh_cn/cp_origin_docs.sh
Tong Gao b04775fd78
[Docs] Refactor docs structure (#662)
* Refactor docs structure

* update script paths

* update path ignore
2021-12-10 17:19:27 +08:00

10 lines
232 B
Bash
Executable File

#!/usr/bin/env bash
# Copy *.md files from docs/ if it doesn't have a Chinese translation
for filename in $(find ../en/ -name '*.md' -printf "%P\n");
do
mkdir -p $(dirname $filename)
cp -n ../en/$filename ./$filename
done