diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-03-16 19:15:01 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-04-06 10:36:37 +0200 |
commit | e30097f4a9ffc42d57df2c463ae4770b61ff8769 (patch) | |
tree | d81a0f0c0153d99346cb1e123f7bc656991086b4 /aabneture/2021 | |
parent | c0be7d8b7c4caa1e1077e91912e93dac6c4e6470 (diff) |
rename *.mdwn to */index.md, except index/topbar/farbar/sidebar files
command:
```
perl -MPath::Tiny -WE 'use strict; path(".")->visit(sub{return unless -f && /\.mdwn$/; my $stem=$_->basename(".mdwn"); my $new=$_->sibling($stem,"index.md"); return if $stem =~ /^index|topbar|sidebar|farbar|footer$/ || $new->exists; $new->parent->mkpath; system("git","mv", $_, $new)},{recurse=>1})'
```
Diffstat (limited to 'aabneture/2021')
-rw-r--r-- | aabneture/2021/april/index.md (renamed from aabneture/2021/april.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2021/august/index.md (renamed from aabneture/2021/august.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2021/februar/index.md (renamed from aabneture/2021/februar.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2021/januar/index.md (renamed from aabneture/2021/januar.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2021/juli/index.md (renamed from aabneture/2021/juli.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2021/juni/index.md (renamed from aabneture/2021/juni.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2021/maj/index.md (renamed from aabneture/2021/maj.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2021/marts/index.md (renamed from aabneture/2021/marts.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2021/september/index.md (renamed from aabneture/2021/september.mdwn) | 0 |
9 files changed, 0 insertions, 0 deletions
diff --git a/aabneture/2021/april.mdwn b/aabneture/2021/april/index.md index 7fa38262..7fa38262 100644 --- a/aabneture/2021/april.mdwn +++ b/aabneture/2021/april/index.md diff --git a/aabneture/2021/august.mdwn b/aabneture/2021/august/index.md index b445411e..b445411e 100644 --- a/aabneture/2021/august.mdwn +++ b/aabneture/2021/august/index.md diff --git a/aabneture/2021/februar.mdwn b/aabneture/2021/februar/index.md index c848c291..c848c291 100644 --- a/aabneture/2021/februar.mdwn +++ b/aabneture/2021/februar/index.md diff --git a/aabneture/2021/januar.mdwn b/aabneture/2021/januar/index.md index 573ba5a5..573ba5a5 100644 --- a/aabneture/2021/januar.mdwn +++ b/aabneture/2021/januar/index.md diff --git a/aabneture/2021/juli.mdwn b/aabneture/2021/juli/index.md index 0fd5bbbc..0fd5bbbc 100644 --- a/aabneture/2021/juli.mdwn +++ b/aabneture/2021/juli/index.md diff --git a/aabneture/2021/juni.mdwn b/aabneture/2021/juni/index.md index 5e6e5b3b..5e6e5b3b 100644 --- a/aabneture/2021/juni.mdwn +++ b/aabneture/2021/juni/index.md diff --git a/aabneture/2021/maj.mdwn b/aabneture/2021/maj/index.md index 581a1552..581a1552 100644 --- a/aabneture/2021/maj.mdwn +++ b/aabneture/2021/maj/index.md diff --git a/aabneture/2021/marts.mdwn b/aabneture/2021/marts/index.md index f9a0e8ee..f9a0e8ee 100644 --- a/aabneture/2021/marts.mdwn +++ b/aabneture/2021/marts/index.md diff --git a/aabneture/2021/september.mdwn b/aabneture/2021/september/index.md index 399f4dca..399f4dca 100644 --- a/aabneture/2021/september.mdwn +++ b/aabneture/2021/september/index.md |