Showing posts with label software. Show all posts
Showing posts with label software. Show all posts

Sunday, April 5, 2009

[Linux] Synchronizing directories in both directions using unison

[Referred from http://textmode.at/2008/4/21/data-synchronization-with-rsync-and-unison]

Unison allows you to create profiles for different tasks, in this example I want to synchronize my opera configuration. A profiles goes into a file ending in .prf in the ˜/.unison directory, for example ˜/unison/opera.prf:

times=true
prefer
=newer
root
=/home/solars/.opera
root
=ssh://slave//home/solars/.opera
ignore
=Path images*
ignore
=Path *cache*
ignore
=Path mail*

  • prefer = newer means newer files should always be preferred
  • root = lines indicate the directories to synchronize (note the SSH path)
  • ignore = Path .. ignores the given path

Now you can run it simply with unison opera.

_________________________________________________

My experiment:

I use unison to synchronize data from server to my desktop. So, the program unison must be installed on that server. We can download source file of unison at http://www.seas.upenn.edu/~bcpierce/unison/. Fortunately, the required package, ocaml, is installed before in the server, and the unison is compiled completely. After that, we copy unison to "~/bin" and re-export the PATH enviroment (in server). Note that, all of these works can be done with a normal user permission.

Wednesday, April 30, 2008

Planning our life: How softwares can do?

When working in the time-pressure enviroment, we often try to plan our works for a day, a week, a month, a year and may be for our life. Planning becomes a useful habit of active people in modern life, especially in the era of information technology.
How can IT support human? We can see that there are many softwares written for this purpose, but with me, they are not sufficient convenient for using in real world although they have many functions. We can list here some famous softwares: planning tool of OpenOffice and Microsoft, Tomboy, FreeMind,... We can easily see that OpenOffice or Microsoft are used mostly in software projects while Tomboy just has a few functions. So, I want to propose a new planning tool for personal life. This software should have some basic functions:
  • Support sketching our tasks in a day.
  • Support preparing essential resources for each task.
  • Support confirming what tasks are finished or done.
  • Support reminding us some important events or tasks.
  • Analyse our works to increase efficiency of planning tasks.
  • We can see our plan wherever we are (networked data) with whatever tool we have (mobile, PC,...).
  • ...
I have just listed here some functions. I'm going to implement this tool on Linux OS, something like GDesklet. I also hope that someone will understand these suggestions and make one for us. It's very good :).