Run bswitch -q from_queue to_queue 0 to switch all the jobs in a queue to another queue.
The -q option is used to operate on all jobs in a queue. The job ID number 0 specifies that all jobs from the night queue should be switched to the idle queue:
The example below selects jobs from the night queue and switches them to the idle queue.