diff options
author | Yuchen Pei <me@ypei.me> | 2021-07-01 12:35:30 +1000 |
---|---|---|
committer | Yuchen Pei <me@ypei.me> | 2021-07-01 12:35:30 +1000 |
commit | 661762ba8fd5fd685bfbe99473d7286efa85b381 (patch) | |
tree | cfad97238a7e8ce897c6e1d5f689b98fd284a4a8 /convert_microposts_standalone.sh | |
parent | 6c8e5849392cc2541bbdb84d43ce4be2d7fe4319 (diff) |
removed temporary scripts for the migration.
Diffstat (limited to 'convert_microposts_standalone.sh')
-rwxr-xr-x | convert_microposts_standalone.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/convert_microposts_standalone.sh b/convert_microposts_standalone.sh deleted file mode 100755 index b78b733..0000000 --- a/convert_microposts_standalone.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -for md in $(ls ./microposts/*.md); do - base=$(basename $md) - fname="${base%%.*}" -# pandoc -s -f markdown -t org -o ./microposts/${fname}.org ${md} - echo "pandoc -s -f markdown -t org --filter ./filter.hs --metadata filename=${fname} -o ./microposts/${fname}.org ${md}" - pandoc -s -f markdown -t org --filter ./filter-standalone.hs --metadata title=${fname} -o ./microposts/${fname}.org ${md} -# sed -i "s/:END:/&\n/" ./microposts/${fname}.org # add a new line before the content -done -sed -i 's/^\(#+date:\s\+\)\(.\{10\}\)/\1<\2>/' ./microposts/*.org # fix the dates |