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/2024 | |
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/2024')
-rw-r--r-- | aabneture/2024/april/index.md (renamed from aabneture/2024/april.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2024/februar/index.md (renamed from aabneture/2024/februar.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2024/januar/index.md (renamed from aabneture/2024/januar.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2024/juli/index.md (renamed from aabneture/2024/juli.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2024/juni/index.md (renamed from aabneture/2024/juni.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2024/maj/index.md (renamed from aabneture/2024/maj.mdwn) | 0 | ||||
-rw-r--r-- | aabneture/2024/marts/index.md (renamed from aabneture/2024/marts.mdwn) | 0 |
7 files changed, 0 insertions, 0 deletions
diff --git a/aabneture/2024/april.mdwn b/aabneture/2024/april/index.md index f8b002d8..f8b002d8 100644 --- a/aabneture/2024/april.mdwn +++ b/aabneture/2024/april/index.md diff --git a/aabneture/2024/februar.mdwn b/aabneture/2024/februar/index.md index 41dcd340..41dcd340 100644 --- a/aabneture/2024/februar.mdwn +++ b/aabneture/2024/februar/index.md diff --git a/aabneture/2024/januar.mdwn b/aabneture/2024/januar/index.md index 1f8f672a..1f8f672a 100644 --- a/aabneture/2024/januar.mdwn +++ b/aabneture/2024/januar/index.md diff --git a/aabneture/2024/juli.mdwn b/aabneture/2024/juli/index.md index 50258631..50258631 100644 --- a/aabneture/2024/juli.mdwn +++ b/aabneture/2024/juli/index.md diff --git a/aabneture/2024/juni.mdwn b/aabneture/2024/juni/index.md index c9d50b6d..c9d50b6d 100644 --- a/aabneture/2024/juni.mdwn +++ b/aabneture/2024/juni/index.md diff --git a/aabneture/2024/maj.mdwn b/aabneture/2024/maj/index.md index 38a4b4eb..38a4b4eb 100644 --- a/aabneture/2024/maj.mdwn +++ b/aabneture/2024/maj/index.md diff --git a/aabneture/2024/marts.mdwn b/aabneture/2024/marts/index.md index c57a58c5..c57a58c5 100644 --- a/aabneture/2024/marts.mdwn +++ b/aabneture/2024/marts/index.md |