6 lines
128 B
Bash
6 lines
128 B
Bash
|
#!/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
|