SQLite Forum

Renaming a database
Login
Linux mv (rename file) command is guaranteed to be atomic within the same filesystem. When aplied across filesystems, it will internally perform the cp (copy file) and rm (delete old file) actions while losing atomicity.