Safely morph a file in place

Safely morph a file in-place 1.0

Safely morph a file in-place 1.0 Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License
  • Databases: N/A
  • Downloads: 330
  • Released: Jun 6, 2007

Safely morph a file in-place 1.0 Description

This script contains a class that enables a client to securely update an existing file, including the ability to make an automated backup version.

This code encapsulates the method to safely update files in-place, by first writing to a temporary file and finally renaming the new temporary file to the old filename. This also make it possible to create a backup copy of the original file.

The "FileMorpher" class encapsulates all the necessary steps, including the filename handling, which makes the calling code much cleaner as opposed to the naive approach where all the gory details are spread over that higher-level code.

Safely morph a file in-place 1.0 Keywords

Safely morph a file in place Bookmark

Hyperlink code:
Hyperlink for Forum code:

Safely morph a file in-place 1.0 Script Download Notice

Top 4 Download periodically updates information of Safely morph a file in-place 1.0 script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Safely morph a file in-place 1.0 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Backup your files

Backup your files script makes backup versions for your files.It can be used for non-python source code also. ...
Python

Really Simple Backup

... text, '(c)dialog' or even 'Xdialog'.It will produce full backups, but utilizes hardlinks to minimize the needed disk ... is done with an easy and short configuration file, which will not shorten your possibilities.All data will ... of the local machine. This way you can backup more than one machine to the same remote ...
Unknown

RoadRunner

This recipe allows you to update desired files in a directory tree. It needs to be ... the "string" you want to insert in the file b) the extension of the files to update e.g: .html c) a regular expresion ( where ... path of the directory where you want this update to occur. ...
Python

File Subclass

If the 'file' object looks for a '.filename.pkl' file which contains the seek offset of the previous end of the file, then this subclass sets the seek offset to that number before returning the file.On closing the file or StopIteration, it writes the new max offset to this pickle file. ...
Python

combine

... which allows a user to make matches between files, and as a result to make file joins, aggregations, and frequency counts.combine is known to have compiled successfully on GNU/Linux, Mac OS X, and HP-UX systems. ...