251
251
# implementors don't have to implement everything.
252
252
return self._iterate_over(relpaths, self.copy, pb, 'copy', expand=True)
254
def copy_to(self, relpaths, other, pb=None):
261
other.put(path, self.get(path, decode=False), encode=False)
263
return self._iterate_over(relpaths, copy_entry, pb, 'copy_to', expand=False)
254
266
def move(self, rel_from, rel_to):
255
267
"""Move the item at rel_from to the location at rel_to"""
256
268
raise NotImplementedError
259
271
"""Move a bunch of entries.
261
273
:param relpaths: A list of tuples of the form [(from1, to1), (from2, to2),...]