blob: 031bea6d6bac339cacccf1bd2de7f4c33d8169d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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.
Latest news
-----------
QmQVcgoBQxAfZzjA7N2X5kHuQvf6AY2MdQz3e2woaiPV4d
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 :)
|