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.

We are using complex directory tree, shared via DropBox on Windows and Ubuntu.

Somewhere we need to refer files, placed in other folders (like Invoice_5.doc must be found under Invoices as well as under Clients/SomeName).

Before Ubuntu we were able to use .lnk files. But what is the best solution for now when we are using Ubuntu (Gnome) and Windows?

share|improve this question

2 Answers 2

It appears that if you create a file and a symbolic link on computer A, on computer B dropbox just creates two separate copies of the file. Probably not what you want.

The closest equivalent to a .lnk file in Linux is a desktop file. A .desktop file for a relative link is a text file containing:

[Desktop Entry]
Type=Link
URL=path/to/file

To automate creating such links, you'll need to look into adding a custom action to nautilus.

share|improve this answer

Why don't you create symbolic links?

ln -s Invoices/Invoice_5.doc Client/SomeName/

will create a symbolic link in the directory Client/SomeName/ with the original remaining in Invoices/. Of course, you can do it with a Nautilus (right-click, "Make link").

However, I don't know DropBox and I do not know how DropBox treats symbolic links.

share|improve this answer

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.