summaryrefslogtreecommitdiffstats
path: root/publish
blob: e15ad06529c827e1b983235110719763af799a3b (plain) (blame)
1
2
3
4
5
6
7
#! /usr/bin/bash
if [ -f "$1" ]
then
    published_name=`date -I'date'`-`basename $1`
    echo "Publishing as $published_name"
    mv "$1" "blog/_i18n/nb/_posts/$published_name"
fi