OSError: [Errno 18] Invalid cross-device link: code example
Example: oserror: invalid cross-device link
Source and destination need to be on the same file system.
As a fix, use the following instead of os.rename:
shutil.move()
Source and destination need to be on the same file system.
As a fix, use the following instead of os.rename:
shutil.move()