déplace les contenues dans un repertoire par année
This commit is contained in:
@@ -13,7 +13,6 @@ cat "" > $KEYWORDS
|
||||
echo "## Generate HTML files for each markdown files"
|
||||
|
||||
for mdfile in $MARKDOWN_FILES; do
|
||||
echo "-------------- current file $mdfile"
|
||||
htmlfile="${mdfile%%.*}.html"
|
||||
if [ ! -f "$htmlfile" ] || [ "$htmlfile" -ot "$mdfile" ]; then
|
||||
echo "--> generate with pandoc '$htmlfile' from '$mdfile'"
|
||||
@@ -34,7 +33,7 @@ echo "## END"
|
||||
|
||||
echo "## Build atom"
|
||||
|
||||
LAST_CHANGES=$(git log --pretty="format:" --name-only | grep "content/posts/20*" | grep ".html" | uniq | tac | head -10)
|
||||
LAST_CHANGES=$(git log --pretty="format:" --name-only | grep "content/*" | grep ".html" | uniq | tac | head -10)
|
||||
echo "liste des 10 derniers fichiers qui ont changés : $LAST_CHANGES"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user