Bulk update status of all posts or pages on a particular path

What are the options to capture all posts or pages on a specific path - including multiple levels of parent pages - and update status (published - draft)? Thanks

Topic bulk Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.