By mitchp
via gist.github.com
Published: Oct 31 2012 / 11:03
On Unix, mv is an atomic operation. This enables a well-known "symlink replacement trick" for race-condition-free website deployment, among other things. Let's create a script that encapsulates the process for general-purpose use.
Add your comment