Editing Multiple Entries in a Collection

Is there a way to edit multiple entries in command line to a filtered list of entries?
It would be great if there was a way to easily add multiple entries to a new collection, add a custom field that is the same for those selected items.