Skip to content

Commit

Permalink
Migration helper for BSDlike systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolo committed May 14, 2024
1 parent d76acf5 commit c8da593
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Fix block news in 121 template

Migrate helper
```
find ./MeetingNotes/121/ -not -regex '.*\.obsidian.*' -name '*.md' -exec sed -z -i -e 's/and (\s\+contains(join(people), "` +
name + `")\s\+or contains(meta(section).subpath, "` + name + `")\s\+)\s\+//' {} \;
find ./MeetingNotes/121/ -not -regex '.*\.obsidian.*' -name '*.md' -exec perl -e 'open($in, "<", $ARGV[0])||die $!; $_=join("", <$in>);close($in); s/and \(\s+contains\(join\(people\), "` \+ name \+ `"\)\s+or contains\(meta\(section\).subpath, "` \+ name \+ `"\)\s+\)\s+//s; s/console\.log\(tsks\);\s+//s; open($out, ">", $AR
GV[0])||die $!; printf $out $_; close($out)' {} \;
```

## [0.0.2](https://github.com/Nikolo/obsidian-setting-pack/releases/tag/v0.0.2) (2024-05-13)
Expand All @@ -16,7 +16,7 @@ name + `")\s\+or contains(meta(section).subpath, "` + name + `")\s\+)\s\+//' {}

Moved from due date to schedule data

Migrate halper
Migrate helper

```
find ./ -not -regex '.*\.obsidian.*' -name '*.md' -exec sed -i -e "s/due/scheduled/" {} \;
Expand Down

0 comments on commit c8da593

Please sign in to comment.