#!/bin/bash
set -e
OUTPUT_DIR=`pwd`/_posts
PYTHON_UTIL=`pwd`/import_srweb.py
NEWS_DIR=$1
cd $NEWS_DIR
find . -not -name '.*' -type f | cut -c3- | xargs -I @ echo python3 $PYTHON_UTIL -s -l news @ -o $OUTPUT_DIR/@.md


Add a tool to import all news articles
Add a tool to import all news articles
