How to upload mass inventory quantity adjustment with batch number?

How to upload mass inventory quantity adjustment with batch number?

I wanted to clean-up our inventory list; however, I have trouble performing the task as I don't know how to mass upload inventory adjustment with batch numbers. I don't want to do it manually as there are if not thousands at hundreds of inventory transactions.