howtogeek at May 28th, 2013 17:03 — #1
Originally published at: http://www.howtogeek.com/163824/it-geek-how-to-keep-files-with-the-same-name-in-sync/
You have most likely heard of services, such as Dropbox, which are used to keep files in sync across multiple machines. However, what if you want to perform this operation on a single machine? That is, keep files which have the same file name in sync across the machine such that when one of the files change, they are all updated.
amadensor at May 28th, 2013 18:23 — #2
A version control tool like SVN or even CVS works very well for this. You can even automate the updates, only pulling a certain branch or tag, then putting things appropriately in a test or production grouping, allowing you to easily test a particular version, then mark it as ready for production and having it easily distributed, with a single source of truth in the version control server.
faulkner132 at May 28th, 2013 21:57 — #3
I tried a version control system, but for a one man development team this turned out to be extreme overkill. I found that this script (combined with a couple of others I used for archiving releases) works very well when you work on a large number of small development projects.
lhamil64 at May 29th, 2013 10:30 — #4
Couldn't this be solved using symlinks? If you find yourself copying the same file to many different locations (that aren't for backup purposes), you can just make a symlink to the one file.
faulkner132 at May 29th, 2013 10:44 — #5
Interesting idea which I just tried in Visual Studio. Unfortunately, it doesn't work (kept throwing reference errors) - you have a have a full physical copy for the project to be able to use the file.