3 ms·
writing to a temp file then renaming it to the real location is a long held tradition to avoid partial writes and filesystem corruption if power is lost
by bananapub 3y ago
writing to a temp file then renaming it to the real location is a long held tradition to avoid partial writes and filesystem corruption if power is lost
- crabbone 3y agoYes. This. If you copy from unsaved file, you are risking to lose both the file you are baking up and the backup.