howtogeek — 2013-05-28T17:03:02-04:00 — #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 — 2013-05-28T18:23:33-04:00 — #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 — 2013-05-28T21:57:28-04:00 — #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 — 2013-05-29T10:30:02-04:00 — #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 — 2013-05-29T10:44:00-04:00 — #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.