I think you’d need something custom. I checked Smart Import and it just handles entries.
But you could check out the sync code that powers native syncing in the file manager to get a hint. It does what you want, but it uses ajax to batch so I don’t think you could leverage it directly.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.