mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-01 23:48:30 +08:00
11 lines
273 B
Bash
11 lines
273 B
Bash
#!/bin/bash
|
|
NBDIR=notebooks
|
|
|
|
for fullfile in $NBDIR/*.ipynb; do
|
|
echo "Processing $fullfile file..";
|
|
filename=$(basename "$fullfile")
|
|
extension="${filename##*.}"
|
|
filename="${filename%.*}"
|
|
ipython nbconvert $fullfile --to markdown --output $filename
|
|
done
|