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

Some relatively small text files on my netbook that I use every day 8 hours/day are a week out of sync. u1sdtool --waiting-content shows a huge number of photos on the list to be uploaded before one of the text file to be downloaded.

Is there a way to move the text file up to get it processed sooner? Seems like it has been taking weeks for the photos to synchronize.

share|improve this question
up vote 2 down vote accepted

You cannot change the order, in which Ubuntu One downloads the files. I'm not even sure you can chose to skip certain file formats.

Is it possible for you to sign in on the web, and fetch them directly instead? If you place them in the correct folders, there might be a chance they sync before Ubuntu One download new files.

share|improve this answer
Yes, thanks, that is a good idea. Instead I kept my netbook humming along all night and got the backlog cleared by morning. – Mark D Feb 23 '11 at 4:54

I'm half-answering this question with a tiny script that should work in theory.

It searches for a string in --waiting-content, get the IDs and sends them to --schedule-next.

Sadly, it doesn't work because the "u1sdtool --schedule-next" command is failing on a dbus bug and because of this bug report, I don't see a bright future for it.


if [ $1 ]
    echo "You need to provide a search string: u1up <search>"
FirstResult=$(u1sdtool --waiting-content | grep -i $search)
if [ $FirstResult ]
    node_id=$(echo $FirstResult | sed -n 's/.*node_id=\(.*\)\ share.*/\1/p')
    share_id=$(echo $FirstResult | sed -n 's/.*share_id=\(.*\)\ path.*/\1/p')
    path=$(echo $FirstResult | sed -n 's/.*path=\(.*\)/\1/p')

    echo "Attempting to prioritize $path ..."
    u1sdtool --schedule-next=$share_id $node_id

    echo "Your search did not match any file waiting in the Ubuntu One queue."

That was an interesting question!

share|improve this answer
Thanks for the script. Perhaps if the bug you mentioned gets fixed this will be quite useful to prioritize synchronizing work files first. – Mark D Feb 23 '11 at 4:56

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.