mirror of
https://github.com/CoderSherlock/CoderSherlock.github.io.git
synced 2026-06-13 08:08:10 -07:00
12 lines
223 B
Bash
Executable File
12 lines
223 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
TARGET="../draft"
|
|
#DRAFTS=$(ls -l $TARGET| awk '!/index/ {print $9}')
|
|
DRAFTS=$(ls -l $TARGET| awk '{print $9}')
|
|
|
|
for DRAFT in $DRAFTS
|
|
do
|
|
pandoc $TARGET/$DRAFT -o ../$(echo $DRAFT| cut -d'.' -f1).html
|
|
done
|