Hi Toussaint,
you may find some example batch import / export script examples at these links A, B and C.
c.