mirror of
https://github.com/CoderSherlock/CoderSherlock.github.io.git
synced 2026-06-13 08:08:10 -07:00
Second test of script
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user