S
Scott Whitney
oldName=/backup/backups/data/WWW_httpd.conf_backups/20050204.httpd.conf
newName=/backup_old/data/WWW_httpd.conf_backups/20050204.httpd.conf
os.rename(oldName,newName) gives:
OSError: [Errno 18] Invalid cross-device link
mv from the shell works fine.
This is Python 2.2.3 from RedHat 9.0.
Any suggestions (other than os.system('mv %s %s')?)
newName=/backup_old/data/WWW_httpd.conf_backups/20050204.httpd.conf
os.rename(oldName,newName) gives:
OSError: [Errno 18] Invalid cross-device link
mv from the shell works fine.
This is Python 2.2.3 from RedHat 9.0.
Any suggestions (other than os.system('mv %s %s')?)