Batch post settings editing

Is there any good way to change Membership settings from Public to Members-only for all posts?

gctools change-visibility 

Sounds like what you are looking for.