Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to create a backup of a single .tex file. I created the hard link to the file (which is not in Dropbox directory, lets say it is A) inside Dropbox directory. I did this so because I do not want to backup other auxiliary file created (eg. axu, .log, .bbl etc.) when compiling the tex file. I edit and compile the tex file in A. The changes are reflected when I see the file inside Dropbox directory. But its is not synced with the online folder. However, If I change the file (hard link) inside the Dropbox directory, it gets synced.

Please let me know what is the problem here. Please give the solution within what I am using and trying to do rather than proposing alternative solution for same task.

I am using Fedora 13.

share|improve this question
up vote 6 down vote accepted

Dropbox is probably using inotify or a variant thereof to watch for changes in the Dropbox directory. Because the change happens outside of the Dropbox directory, Dropbox doesn't see it.

To get the desired effect, you might be able to use symlinks instead of hard-links. I'm not sure if there's any special reason it needs to be a hard-link for your use case (edit and compile).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.