We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0d446c commit d889fbdCopy full SHA for d889fbd
2 files changed
draft.ps1
@@ -0,0 +1,12 @@
1
+$folderPath = "src\content\posts"
2
+
3
+$mdFiles = Get-ChildItem -Path $folderPath -Filter "*.md" -Recurse -File
4
5
+foreach ($file in $mdFiles) {
6
+ $content = Get-Content -Path $file.FullName -Raw
7
8
+ if ($content -imatch "draft\s*:\s*true") {
9
+ # Print the full path of the matching file
10
+ Write-Output $file.FullName
11
+ }
12
+}
src/content/posts/NET/Heap/Heap.md
@@ -8,8 +8,3 @@ category: "DOTNET"
draft: false
lang: "en"
---
-
-FUCK YOU
13
-sorry I burnt out , I FUCK YOU Macau rubblish shitty place ?
14
-ASKING FOR RESPECT ? What the fuck you dont even respect me , how can i respect you ?
15
-Shouting out DOG SHITS is meaningless , FUCK YOU ALL MACAU SHITTY PEOPLE SHITTY Place
0 commit comments