View Full Version : [ubuntu] Symbolic Links
RealG187
July 9th, 2009, 12:19 AM
Does anyone know how the Ubuntu client handles symbolic links? Will it upload the symbolic link or the file it links to?
Because if it uploads the actual file then I could use symbolic links to upload files outside the folder I cannot move (like my knotes folder)
jpeddicord
July 11th, 2009, 08:43 PM
Doesn't look like it does. Symlinked an outside folder and Ubuntu One just ignores it completely.
RealG187
July 13th, 2009, 09:28 PM
Doesn't look like it does. Symlinked an outside folder and Ubuntu One just ignores it completely.That sucks, I love symlinks.
But I found a way around that.
For my Knotes (/home/dope/.kde/share/apps/knotes) instead of making "/home/dope/Ubuntu One/My Files/knotes" a symlink to "/home/dope/.kde/share/apps/knotes" I made "/home/dope/.kde/share/apps/knotes" a symlink to "/home/dope/Ubuntu One/My Files/knotes"
renkinjutsu
July 17th, 2009, 04:39 AM
you can probably use hardlinks .. although pretty useless since it doesn't work for directories
lodp
July 17th, 2009, 10:39 AM
I just received my invitation, and after installing I was a bit disappointed about the symlink thing. Dropbox does work with symlinks.
Is there a reason why ubuntu one doesn't support that? Is it planned to be supported?
It seems eminently useful for backing up / syncing application data (knotes is a good example, but I'd also like to use it for thunderbird, firefox, korganizer and such)
zekopeko
July 17th, 2009, 03:59 PM
I just received my invitation, and after installing I was a bit disappointed about the symlink thing. Dropbox does work with symlinks.
Is there a reason why ubuntu one doesn't support that? Is it planned to be supported?
It seems eminently useful for backing up / syncing application data (knotes is a good example, but I'd also like to use it for thunderbird, firefox, korganizer and such)
i think they will implement symlinking at some point. but the whole point of u1 is so that you don't need to symlink application data yourself. it will do it for you.
i know that they are working on contact sync with evolution contacts (it's probably going to be expanded to empathy/pidgin contacts also) and desktop screen sharing.
at a latter date they could easily implement application settings sync for all of the major desktop app.
and not to mention that the client is open source so they could also simply provide an API for applications to plugin to so that they don't have to wait for the u1 team to do it for them.
lodp
July 17th, 2009, 04:26 PM
wouldn't it take ages for all the applications to support that?
also, it's not just application data that many people like to backup and sync - it's also documents and other stuff that resides somewhere in a folder structure outside the ubuntu one folder, and symlinks would be great for that.
I'm planning to do this with dropbox for the time being -- does anybody know whether there's an inherent problem with symlinking application data into a synced folder (and if so, is that why ubuntu one doesn't support it)?
Primefalcon
July 18th, 2009, 02:23 AM
hard links do work (of course) but sym links no
nortexoid
October 30th, 2009, 06:18 PM
Can you hard link a folder? Or can you symlink it and hard link that to get it to work?
krippa
May 4th, 2010, 10:22 PM
This seems like it should be a top priority but the new Ubuntu one client in Lucid still doesn't support this!
I have my docs, pictures etc. on a partition separate from my home folder so it seems I am completely out of luck.. And I was even thinking of getting 50GB subscription for my photos. For now I am stuck with Dropbox..
Symlinks ASAP please!
Does anyone know if symlink support is planned?
joshuahoover
May 5th, 2010, 03:17 PM
This seems like it should be a top priority but the new Ubuntu one client in Lucid still doesn't support this!
I have my docs, pictures etc. on a partition separate from my home folder so it seems I am completely out of luck.. And I was even thinking of getting 50GB subscription for my photos. For now I am stuck with Dropbox..
Symlinks ASAP please!
Does anyone know if symlink support is planned?
We don't currently have plans to add symlink support. We do provide a way to right-click on a folder in your home folder and synchronize that folder, but don't support symlinks.
Thank you,
Joshua
RealG187
May 7th, 2010, 05:46 PM
This seems like it should be a top priority but the new Ubuntu one client in Lucid still doesn't support this!
I have my docs, pictures etc. on a partition separate from my home folder so it seems I am completely out of luck.. And I was even thinking of getting 50GB subscription for my photos. For now I am stuck with Dropbox..
Symlinks ASAP please!
Does anyone know if symlink support is planned?For me "/home/mpg/Ubuntu One" is a symlink and I think that works, but symlinks inside the Ubuntu One folder don't work...
krippa
May 8th, 2010, 02:54 PM
For me "/home/mpg/Ubuntu One" is a symlink and I think that works, but symlinks inside the Ubuntu One folder don't work...
With this solution can you still only add folders within your home directory to be synced or any folder on the partition that is symlinked?
Thanks
krippa
May 8th, 2010, 03:53 PM
I found out another way to synchronize any folder on *any* partition (I only have ext partitions so I dont know if it will work with ntfs etc.).
For various reasons I dont want to mount my "file store"-partition in my home folder directly, I want it at /media/hd. What I then did was edit my fstab file to create a "binding" (similiar to mount) of some of these folders to my home directory which Ubuntu One then lets me synchronize by right-clicking in Nautilus.
Here's what I did for my pictures folder:
Edit my /etc/fstab:
sudo gedit /etc/fstab
After the existing mount, I added a bind entry:
UUID=49af66cc-3eab-4d0a-b5a6-e1e18b926b47 /media/hd ext3 defaults 0 2
/media/hd/Pictures /home/kristofer/Pictures none bind 0 0
Then you have to create /home/kristofer/Pictures and remount drives with: sudo mount -a
mynameisflorian
August 26th, 2010, 07:19 PM
I've been waiting for this feature since the inital launch. I guess I shouldn't hold my breath. Does anyone know of a similar service that can handle symlinks?
krippa
August 28th, 2010, 04:55 AM
Yeah, dropbox does support symlinks and also sync between OS:es, public sharing etc. It does not directly support syncing settings of apps but if you know symlinking you can probably manage that too.
onecsguy
January 24th, 2012, 11:50 AM
wouldn't it take ages for all the applications to support that?
also, it's not just application data that many people like to backup and sync - it's also documents and other stuff that resides somewhere in a folder structure outside the ubuntu one folder, and symlinks would be great for that.
I'm planning to do this with dropbox for the time being -- does anybody know whether there's an inherent problem with symlinking application data into a synced folder (and if so, is that why ubuntu one doesn't support it)?
Ubuntu One doesn't support Symbolic Links because people would backup their mysql folders and possibly root =P, I imagine they are worried about data traffic and have probably specifically excluded symbolic links (they would have had to as to an application unless attributes are checked, a symlink appears as a regular folder / files)
dunnerz
January 31st, 2012, 01:55 PM
Ubuntu One doesn't support Symbolic Links because people would backup their mysql folders and possibly root =P, I imagine they are worried about data traffic and have probably specifically excluded symbolic links (they would have had to as to an application unless attributes are checked, a symlink appears as a regular folder / files)
If I really wanted to do that, I could very easily save mysql root dir to the ubuntu directory.
It's a shame they are not doing sym links though - losing a customer here.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.