Safely renaming a file without overwriting
wdraxinger at darkstargames.de
Sun Oct 29 11:40:45 CET 2006
Diez B. Roggisch wrote:
> The link/unlink trick of Chetan sounds reasonable, though.
It will work only if both source and destination are on the same
file system, which means you can't move a file between mount
points - at least that's the way how it's defined by POSIX; NTFS
supports hard links and soft links, too but I don't know if
those got the same constraints.
E-Mail address works, Jabber: hexarith at jabber.org, ICQ: 134682867
GPG key FP: 2FC8 319E C7D7 1ADC 0408 65C6 05F5 A645 1FD3 BD3E
More information about the Python-list