diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-05-23 20:28:40 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-05-23 20:28:40 +0300 |
| commit | c52fa1d2c7ab61a3ef1e1c55341bb59433fac875 (patch) | |
| tree | ee019c8e0df298c0d80490c53dfed88d7b48378b | |
| parent | 835c1d8aba6722df690dd619c571054872e5c3d7 (diff) | |
| download | aaoth.xyz-c52fa1d2c7ab61a3ef1e1c55341bb59433fac875.tar.gz aaoth.xyz-c52fa1d2c7ab61a3ef1e1c55341bb59433fac875.zip | |
add few comments to new post script
note: this script is primarily for personal use and there are could be
some bugs.
| -rwxr-xr-x | aaoth_new_post.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/aaoth_new_post.sh b/aaoth_new_post.sh index 2a7c7c9..3ca34b4 100755 --- a/aaoth_new_post.sh +++ b/aaoth_new_post.sh @@ -1,5 +1,7 @@ #!/bin/sh +# quick and dirty script to add new posts to aaoth.xyz + SITE_DIR="$HOME/Documents/aaoth.xyz" POSTS_DIR="$SITE_DIR/_posts" @@ -7,6 +9,8 @@ DATE_SHORT=$(date -I) DATE_LONG=$(date -Isec) usage() { + echo "add a post to aaoth.xyz" + echo echo "usage:" echo " $0 [OPTIONS]" echo |
