Peter Otten <__peter__ at web.de> writes: > http://stackoverflow.com/questions/3222341/how-to-rename-without-race-conditions >> and from a quick test it appears to work on Linux: By “works on Linux”, I assume you mean “works on filesystems that use inodes and hard links”. That is not true for all filesystems, even on Linux. -- \ “[Entrenched media corporations will] maintain the status quo, | `\ or die trying. Either is better than actually WORKING for a | _o__) living.” —ringsnake.livejournal.com, 2007年11月12日 | Ben Finney