M
Matt Price
Hi folks,
I'm trying to move files across devices on my linux box. Here's what
I had:
os.rename(sFileName, dir + newName)
which gives:
Traceback (most recent call last):
File "/usr/local/scripts/sort_mp3s.py", line 68, in ?
localSort(i, defaultSaveDir)
File "/usr/local/scripts/sort_mp3s.py", line 34, in localSort
os.rename(sFileName, dir + newName)
OSError: [Errno 18] Invalid cross-device link
ok, so that doesn't work. is there another method?
thx,
matt
I'm trying to move files across devices on my linux box. Here's what
I had:
os.rename(sFileName, dir + newName)
which gives:
Traceback (most recent call last):
File "/usr/local/scripts/sort_mp3s.py", line 68, in ?
localSort(i, defaultSaveDir)
File "/usr/local/scripts/sort_mp3s.py", line 34, in localSort
os.rename(sFileName, dir + newName)
OSError: [Errno 18] Invalid cross-device link
ok, so that doesn't work. is there another method?
thx,
matt