Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 noticed yesterday that Ubuntu One is not syncing some of my bip logs, but is syncing others. It appears that Ubuntu One is ignoring certain files because they start with a # sign.

How can I modify what files Ubuntu One sync vs ignores?

share|improve this question

The default ignored is defined in /etc/xdg/ubuntuone/syncdaemon.conf:

ignore.default = \A#.*\Z                                                        

If you want to change it, edit or create the file ~/.config/ubuntuone/syncdaemon.conf to define your own ignore list. In the case you just want to allow the synchronization of files and folders starting with a #, copy the default list but remove the first regular expression:

ignore = \A.*~\Z

Then, restart syncdaemon with:

u1sdtool -q; u1sdtool -c
share|improve this answer

After talking to some people on IRC, I found a solution to this problem.

UbuntuOne ignores certain files based on patterns stored in /etc/xdg/ubuntuone/syncdaemon.conf.

Look at the section called ignore.default. The patterns here are Python, not bash regex expressions, so if you're not familiar with them, you should be careful modifying them. I'd recommend backing up this file first. You need to use sudo to edit this file.

I used this tool, the Python Regex Tool to test my changes. In my case, I removed the first expression \A#.*\Z and my files with names that started with # were synced.

After modifying the file, I disconnected, quit, started, and reconnected the syncdaemon as follows:

u1sdtool -d
u1sdtool -q
u1sdtool --start
u1sdtool -c
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.