I’m migrating a site with over 500 posts. I ran the WP-to-Hugo migrator which got me about 70% of the way.
With the .md now converted, I am going through each post 1 by 1 and fixing the remaining 30%. This includes things that the migrator wordpress plugin got wrong, or could not process / convert.
As I do this, I am marking the posts as draft: true and running hugo build locally to --buildDrafts.
In this context, I would like to know the following
1, Once I am done migrating all the posts, how do I list the ones that are set as drafts in the command line
2. Is it possible to undraft them as a batch / using wildcards in title or date etc?
I was unable to locate where in the documentation site. Didn’t find it in the command line help either. Is it a command line switch or something in unix / bash (Windows guy here )
Digging through the docs, I finally found the list command, which is what I think I am looking for.