Add script to conver MD files to TXT
This commit is contained in:
parent
811cfcd876
commit
fa217c896e
1 changed files with 5 additions and 0 deletions
5
scripts/export_to_txt.sh
Executable file
5
scripts/export_to_txt.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
cd export
|
||||||
|
ls * | grep -v Book.txt | xargs rm
|
||||||
|
cd ..
|
||||||
|
for old in *.md; do cp $old export/`basename $old .md`.txt; done
|
Loading…
Reference in a new issue