Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Can I somehow use u1sdtool to find out which files have I published on Ubuntu One (and possibly with their public URL)? Now, I have to use the web interface for that.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You can't use u1sdtool for this, but you can use SyncDaemonTool, which lets you talk to Ubuntu One's syncdaemon directly, to do what you want via a short Python script:

from twisted.internet import glib2reactor
from dbus.mainloop.glib import DBusGMainLoop
from twisted.internet import reactor, defer
from import SyncDaemonTool

def print_public_files():
    print "calling"
    sd = SyncDaemonTool()
    pf = yield sd.get_public_files()
    for f in pf:
        print "%(path)s -> %(public_url)s" % f

if __name__ == "__main__":

You'll find documentation on everything that SyncDaemonTool can do on the Ubuntu One developer site.

share|improve this answer
Wonderful, thank you very much! –  semberal Oct 3 '12 at 15:12

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.