Adding items to a storage without removing existing items in same slot and/or rest of storage

Im trying to make a generator which uses a barrel to slowly fill up with 1 specific item, how do i do this without removing whats already there? Thanks!
Continue to help post