Mercurial > hg > Members > atton > seminar_slides
changeset 0:99228aff068b
Add slide generator
author | Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 30 Jan 2014 14:49:09 +0900 |
parents | |
children | 5ceacb9a06c7 |
files | today_slide.sh |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/today_slide.sh Thu Jan 30 14:49:09 2014 +0900 @@ -0,0 +1,13 @@ +#!/bin/sh + +root_dirname="slides" +date_format="%Y%m%d" +slide_name="slide.md" + +dirname=`date +${date_format}` +dir_full_path="${root_dirname}/${dirname}" +slide_full_path="${root_dirname}/${dirname}/${slide_name}" + +mkdir -p ${dir_full_path} +touch ${slide_full_path} +echo ${slide_full_path}