BL4.5.0-64bit - How to create a link to folder, please?
BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You can shorten things a bit:
1) Create the link while sitting in the directory where you want "/path of where to put link" so you only have to type the name. e.g.
RATHER THAN:
ln -s /this/dir/is/very/long/dont/you/think /this/otherdir/is/also/very/long/to/type
INSTEAD:
cd /this/otherdir/is/also/very/long/to
ln -s /this/dir/is/very/long/dont/you/think type
Any later references to "/this/otherdir/is/also/very/long/to/type" will work just as they would if you'd done the first syntax.
2) If the directories have a common path you can use relative links e.g.:
RATHER THAN:
ln -s /this/dir/is/very/long/dont/you/think /this/dir/is/very/long/dont/we/know
INSTEAD:
cd /this/dir/is/very/long/dont/we
ln -s ../../you/think know
The ../../ makes it relative to the common /this/dir/is/very/long/dont subdirectory of both the target and the link.
Last edited by MensaWater; 09-25-2018 at 08:12 AM.
Isn't there a way, when right clicking a folder, to create a context option like "Create a link to that folder"?
Then you could move that link to wherever you need it.
You can create a symlink with a particular SW. From time to time I use Double Commander and under Files menu item you can find creating a symbolic link.
Last edited by the_waiter; 09-25-2018 at 12:20 PM.
how can I create a link from a folder to another one, please?
Isn't there a way without typing the sometimes very long paths, i.e. without using the terminal?
Yes, you can do it in pcmanfm.
Find the folder you want linked somewhere else. Highlight it. From the pull down menu select edit/Create Link. Then select the folder you want to put the link.
Find the folder you want linked somewhere else. Highlight it. From the pull down menu select edit/Create Link. Then select the folder you want to put the link.
Wow, a-ma-zing!!!
Didn't know it was that easy!
Much better than the uncomfortable way with the terminal.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.