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 /video/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 'video/2021')
-rw-r--r-- | video/2021/01/index.md (renamed from video/2021/01.mdwn) | 0 | ||||
-rw-r--r-- | video/2021/02/index.md (renamed from video/2021/02.mdwn) | 0 | ||||
-rw-r--r-- | video/2021/03/index.md (renamed from video/2021/03.mdwn) | 0 | ||||
-rw-r--r-- | video/2021/04/index.md (renamed from video/2021/04.mdwn) | 0 | ||||
-rw-r--r-- | video/2021/05/index.md (renamed from video/2021/05.mdwn) | 0 |
5 files changed, 0 insertions, 0 deletions
diff --git a/video/2021/01.mdwn b/video/2021/01/index.md index a61645f2..a61645f2 100644 --- a/video/2021/01.mdwn +++ b/video/2021/01/index.md diff --git a/video/2021/02.mdwn b/video/2021/02/index.md index 046296a8..046296a8 100644 --- a/video/2021/02.mdwn +++ b/video/2021/02/index.md diff --git a/video/2021/03.mdwn b/video/2021/03/index.md index b1bc3d74..b1bc3d74 100644 --- a/video/2021/03.mdwn +++ b/video/2021/03/index.md diff --git a/video/2021/04.mdwn b/video/2021/04/index.md index bf5da9eb..bf5da9eb 100644 --- a/video/2021/04.mdwn +++ b/video/2021/04/index.md diff --git a/video/2021/05.mdwn b/video/2021/05/index.md index 00216eb1..00216eb1 100644 --- a/video/2021/05.mdwn +++ b/video/2021/05/index.md |