14

If my memory is not playing me up this could be done with old versions of Ubuntu but I can't find a way of doing it with 18.04.

Is there a way of doing it?

muru
  • 193,181
  • 53
  • 473
  • 722
Terry
  • 473
  • 2
  • 4
  • 14

3 Answers3

21

Drag the folder while holding the Ctrl+Shift button

You will see a "link" under the dragging hand badge while the folder is dragged as shown in the picture below.

enter image description here

If you drag the folder you want to link to, to a different folder, then the link will have the same name as the linked folder. The linked folder will have a black link arrow to show that it is a link.

If you create a link of a folder within the same parent folder the link will be called Link to <Name of Folder>.

enter image description here

Alternately Alt Drag

If you press Alt and drag-and-drop a little menu with copy, move, link, and cancel appears:

enter image description here

Hope this helps

user68186
  • 31,376
  • 12
  • 85
  • 112
  • 1
    Thanks @PerlDuck I have added this method to my answer. – user68186 Nov 14 '18 at 22:08
  • And finally convert the link from absolute to relative by clicking Right-click-scripts-myscript(http://papou.epizy.com/notes/symbolic_link/) – Papou Apr 24 '21 at 16:43
6

You have to enable the menu entry in the file manager:

  • Just open file manager/files/preferences
  • Go to Tab behaviour/Link Creation -> Show action to create symbolic links
  • Thank you. I cannot get why at all this was removed from default settings. – P_M Mar 29 '19 at 06:32
  • link always found broken when restart.I followed this method, then created a link of my internal file and pasted it in desktop.When I restart the machine ,the link is already broken and doesn't work – Jobayer Shajal Aug 20 '20 at 04:53
2

Just right-click on the folder, then select Create Link from the menu.

heynnema
  • 68,647
  • 15
  • 124
  • 180
  • 1
    This is only possible if the checkbox "Show action to create symbolic links" in the preferences is ticked. See [Mr. Schulze's answer](https://askubuntu.com/a/1092892/504066). – PerlDuck Nov 14 '18 at 19:24
  • 2
    @PerlDuck ah, I see. Mine was already checked on :-) – heynnema Nov 14 '18 at 19:28
  • And finally convert the link from absolute to relative by clicking Right-click-scripts-myscript (http://papou.epizy.com/notes/symbolic_link/) – Papou Apr 24 '21 at 16:47