Move multiple notebooks at the same time (programmatically)

hbs59
New Contributor III

If I want to move multiple (hundreds of) notebooks at the same time from one folder to another, what is the best way to do that? Other than going to each individual notebook and clicking "Move".

Is there a way to programmatically move notebooks? Like automatically move notebooks to an Archive folder based on last edit date, etc.