mirror of https://github.com/open-mmlab/mmocr.git
10 lines
232 B
Bash
10 lines
232 B
Bash
|
#!/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
|