From 4680df3e880be45c83a298002557fa6ac1b3a423 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 20 Nov 2021 00:08:54 +0200 Subject: Packing to latest changes --- README | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README (limited to 'README') diff --git a/README b/README new file mode 100644 index 0000000..299da25 --- /dev/null +++ b/README @@ -0,0 +1,24 @@ +Kaotisk Hund news repository +============================ +(at last a git blog, lol) + +Description +----------- +I always wanted to post somewhere. I found that this way I could use git to maintain a history of changes. +Some changes came along the way (see Migration tools). + +Usage +----- +- sh bin/add-new.sh + Creates a new file with name from the time you executed the command in form of 20010101_235959. After you are done editing, it renames it by adding your first line of the file in the name, replacing all letters with lowercase and spaces with underscores. Delimiter of the 2 attibutes is one dash "-". + + +Migration tools +--------------- +- utils/01-migrate.sh + Reads the title (first line of file) and puts in on the filename + Note: Make sure you don't use symbols other than letters and spaces in your titles + +- utils/02-migrate_to_folder.sh + Moves all articles to news folder + Note: the articles are recognized with "2" in filename :) -- cgit v1.2.3