link folders together

Joseph Sinclair plug-discussion at stcaz.net
Tue Oct 28 20:36:18 MST 2014


What you want is a "symbolic link", basically an entry in your home folder that points to the location under /entertainment.
Assuming you want to link the folders in your home directory to like named folders in /entertainment, and your username is bmike:
$ ln -s /entertainment/music /home/bmike/music
$ ln -s /entertainment/videos /home/bmike/videos
$ ln -s /entertainment/pictures /home/bmike/pictures

Note, you need to make sure music, videos, and pictures do *not* exist under /home/bmike/ prior to running these commands (move them aside if they already exist before running those commands).

On 10/28/2014 08:16 PM, Michael Havens wrote:
> here is the setup of my computer:
> 
>     sudo cfdisk
>                                   Unusable                             1.05*
>     sda4                    Primary   ext4
>  118002.55*
>     sda3                    Primary   ext4
>  117000.12*
>     sda1        Boot        Primary   ext4
>  8999.93*
>                             Logical   Free Space
> 0.17*
>     sda5        NC          Logical   swap
>  5996.20*
> 
> sda1 is / . sda3 is /home . sda4 is a partition I created called
> /entertainment . I want to link the folders music, videos, and pictures to
> /entertainment so that when I click on the pretty icon in caja it will go
> to a folder in entertainment with the same name. How do I do it?
> :-)~MIKE~(-:
> 
> 
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20141028/a63a1b8b/attachment.pgp>


More information about the PLUG-discuss mailing list