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/2022 | |
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/2022')
-rw-r--r-- | aabneture/2022/april/index.md (renamed from aabneture/2022/april.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2022/august/index.md (renamed from aabneture/2022/august.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2022/december/index.md (renamed from aabneture/2022/december.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2022/februar/index.md (renamed from aabneture/2022/februar.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2022/juli/index.md (renamed from aabneture/2022/juli.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2022/juni/index.md (renamed from aabneture/2022/juni.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2022/maj/index.md (renamed from aabneture/2022/maj.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2022/marts/index.md (renamed from aabneture/2022/marts.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2022/november/index.md (renamed from aabneture/2022/november.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2022/oktober/index.md (renamed from aabneture/2022/oktober.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2022/september/index.md (renamed from aabneture/2022/september.mdwn) | 0 |
11 files changed, 0 insertions, 0 deletions
diff --git a/aabneture/2022/april.mdwn b/aabneture/2022/april/index.md index bdedb920..bdedb920 100644 --- a/aabneture/2022/april.mdwn +++ b/aabneture/2022/april/index.md diff --git a/aabneture/2022/august.mdwn b/aabneture/2022/august/index.md index e339e469..e339e469 100644 --- a/aabneture/2022/august.mdwn +++ b/aabneture/2022/august/index.md diff --git a/aabneture/2022/december.mdwn b/aabneture/2022/december/index.md index dcb2b39f..dcb2b39f 100644 --- a/aabneture/2022/december.mdwn +++ b/aabneture/2022/december/index.md diff --git a/aabneture/2022/februar.mdwn b/aabneture/2022/februar/index.md index 2e8c5929..2e8c5929 100644 --- a/aabneture/2022/februar.mdwn +++ b/aabneture/2022/februar/index.md diff --git a/aabneture/2022/juli.mdwn b/aabneture/2022/juli/index.md index 7a61e315..7a61e315 100644 --- a/aabneture/2022/juli.mdwn +++ b/aabneture/2022/juli/index.md diff --git a/aabneture/2022/juni.mdwn b/aabneture/2022/juni/index.md index bae834c9..bae834c9 100644 --- a/aabneture/2022/juni.mdwn +++ b/aabneture/2022/juni/index.md diff --git a/aabneture/2022/maj.mdwn b/aabneture/2022/maj/index.md index dd0d11b6..dd0d11b6 100644 --- a/aabneture/2022/maj.mdwn +++ b/aabneture/2022/maj/index.md diff --git a/aabneture/2022/marts.mdwn b/aabneture/2022/marts/index.md index 1bb3e980..1bb3e980 100644 --- a/aabneture/2022/marts.mdwn +++ b/aabneture/2022/marts/index.md diff --git a/aabneture/2022/november.mdwn b/aabneture/2022/november/index.md index 80a1f1ba..80a1f1ba 100644 --- a/aabneture/2022/november.mdwn +++ b/aabneture/2022/november/index.md diff --git a/aabneture/2022/oktober.mdwn b/aabneture/2022/oktober/index.md index 35261e38..35261e38 100644 --- a/aabneture/2022/oktober.mdwn +++ b/aabneture/2022/oktober/index.md diff --git a/aabneture/2022/september.mdwn b/aabneture/2022/september/index.md index 8b72a031..8b72a031 100644 --- a/aabneture/2022/september.mdwn +++ b/aabneture/2022/september/index.md |