diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2016-11-19 12:50:13 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2016-11-19 12:50:13 +0100 |
commit | dc927b4f965715ea0a04835424f98a442349a0fa (patch) | |
tree | 4388266f0629e7e5c925c28cf58980104b23bdf0 | |
parent | 83d5bd9ed265195344b57dc04b222eb29e1d5e1f (diff) | |
download | norsk-urskog-main-dc927b4f965715ea0a04835424f98a442349a0fa.tar.gz norsk-urskog-main-dc927b4f965715ea0a04835424f98a442349a0fa.tar.bz2 norsk-urskog-main-dc927b4f965715ea0a04835424f98a442349a0fa.zip |
dd publish helper script.
-rwxr-xr-x | publish | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -0,0 +1,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 |