I'm trying to move a file to a pen-drive using linux raspberry, python3, os and shutil, but i just receive errors.
When i try to save in a another directory (not usb), the code works great
import shutil
import os
original = '/home/guardian/shared/TestPath/New/'
new = '/media/guardian/GUARDIANT1/New/'
for dir, sub, arq in os.walk(original):
    for arch in arq:
        path = dir + arch
        new = new + arch
        
        shutil.move(src=path, dst=new)
i receive this error:
OSError: [Errno 18] Invalid cross-device link '/home/guardian/shared/TestPath/New/img1.jpg' ->  '/media/guardian/GUARDIANT1/New/img1'