синхронизация папок

  • как можно синхронизировать две папки?
    т.е. в одной работаю а в другой измененые фаилы апдэтаваются [upade]?


    шас пользуюсь [cvs], но для моей работы слишком муторно. как то раньше я делал синхронизацию, а тут забыл забыл :(. а каждые 5мин [mv myfile myfilestmp] делать еше хуже, да и еше забываю...

  • What are the differences between Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.and rsync?
    Rsync is a mirroring tool; Unison is a synchronizer. That is, rsync needs to be told ``this replica contains the true versions of all the files; please make the other replica look exactly the same.'' Unison is capable of recognizing updates in both replicas and deciding which way they should be propagated.
    Both Unison and rsync use the so-called ``rsync algorithm,'' by Andrew Tridgell and Paul Mackerras, for performing updates. This algorithm streamlines updates in small parts of large files by transferring only the parts that have changed.



    What are the differences between Unison and CVS?
    Both CVS and Unison can be used to keep a remote replica of a directory structure up to date with a central repository. Both are capable of propagating updates in both directions and recognizing conflicting updates. Both use the rsync protocol for file transfer.
    Unison's main advantage is being somewhat more automatic and easier to use, especially on large groups of files. CVS requires manual notification whenever files are added or deleted. Moving files is a bit tricky. And if you decide to move a directory... well, heaven help you.


    CVS, on the other hand, is a full-blown version control system, and it has lots of other features (version history, multiple branches, etc.) that Unison (which is just a file synchronizer) doesn't have.



    Has anybody tried to use Unison in conjunction with CVS in order to replicate a CVS repository for active development in more than one geographical location at the same time? Do you forsee any issues with trying to do such a thing, or do you have any tips as to how to get a setup like that working?
    Unison and CVS can be used together. The easiest way is to replicate your files with Unison but keep your CVS repository on just one machine (and do a commit on that machine after each time you synchronize with Unison, if files in that directory have changed).
    More complex schemes are also possible (e.g., using a remote CVS server and checking in from any host with one of the replicas), but should be used with care. In particular, if you use a remote CVS server, it is important that you do not tell Unison to ignore the files in the CVS subdirectory.


    bbbbbb

  • Цитата

    Со слов пользователя фрее-х
    рсынц -аву Папка1 Папка2


    тфю. [rsync]! А мне в голову впало [rsinc], [sinc] или чтото вроде. и не [man-page] не мог вызвать не на [google] найти.


    Обоим болшое спосибо!