Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a lot of files in a lot of different places on my computer I would like to be able to access from Ubuntu1. I just don't want to add all the directories. Is there a way to add just one file from a directory to U1 without adding the whole directory -or could I persuade the code-wizards to make it possible ?

share|improve this question
add comment

3 Answers 3

You can probably create a link in your Ubuntu One folder that refers to the file in the other folder, if you want to avoid copying the file.

share|improve this answer
    
I don't think that will work: U1 will sync the link, not the referent. But, you can do the opposite: put the file within a synced folder, and then add a symlink to it from the other location. –  poolie Sep 19 '11 at 22:25
    
A hard link is a reference to the file. It's just a different name for it. –  Jo-Erlend Schinstad Sep 20 '11 at 16:49
    
Oh, a hard link. Yes, that will work, if the programs that update it, and U1 itself, always update it in place rather than renaming over it. –  poolie Sep 20 '11 at 22:24
add comment

Same question with the right answer here: Does Ubuntu One follow symlinks if synchronizing a folder? in Ubuntu One v 2.0.0, soft links are ignored and hard links are treated unreliably (completely ignored for me, but some people have had success).

share|improve this answer
add comment

Well... copying the file.. Why didn't I think of that, that might be a possible solution. I was thinking in lines of doing the same thing to files as you do to directories, to add them to U1. But if that's not possible copying might do the trick...

share|improve this answer
    
I see where you're going. That should be fairly easy to implement in the client, I think. The question is how often it will be useful. If you have real world use cases that'll be generally useful, then I think you should write a blueprint on launchpad. –  Jo-Erlend Schinstad Sep 20 '11 at 16:51
add comment

Your Answer

 
discard

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.