pictures folder

Patrick Callahan patrick.pxc.c at gmail.com
Mon Jan 28 12:04:34 MST 2013


So there are two ways of doing this (besides changing your XDG Pictures
folder), and one involves symbolic links, and the other involves bind
mounts. You shouldn't have to do both. Here's the symbolic link way:

  cp -r ~/Pictures /media/NewDrive/Wherever
  rm -rf ~/Pictures
  ln -s /media/NewDrive/Wherever/Pictures ~/Pictures

I don't prefer that method, because some file searching tools and such
don't follow symbolic links by default. I use bind mounts:

  cp -r ~/Pictures /media/NewDrive/Wherever
  rm -rf ~/Pictures/*

  (then add the following line to your fstab without quotation marks) :
    "/media/NewDrive/Wherever/Pictures /home/mike/Pictures none bind 0 0"
  Then 'sudo mount ~mike/Pictures'. It should mount automatically on boot
after that.

Either method should work, but you should only use one.
On Jan 28, 2013 12:47 AM, "Michael Havens" <bmike1 at gmail.com> wrote:

> in this situation do I add the
>
>      mount <drive> /mnt/<target>
>
> command to fstab or what is the new standard? I mean I thought it might be
> mounted in /media but I was wrong. Thn I opened the drive  and it still
> wasn't mounted in media so I don't know what  to do.
> :-)~MIKE~(-:
>
>
> On Mon, Jan 28, 2013 at 12:33 AM, Michael Havens <bmike1 at gmail.com> wrote:
>
>> thanks Ed. I was thinking it might be that easy.
>> :-)~MIKE~(-:
>>
>>
>> On Mon, Jan 28, 2013 at 12:10 AM, Ed <plug at 0x1b.com> wrote:
>>
>>> ln -s works for me - get the details from the man page. Besides, a
>>> symbolic link is easier than changing the XDG designation for your
>>> Pictures directory:
>>> http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
>>>
>>> just make sure your link has the same name as your current XDG
>>> Pictures directory and you shouldn't have any problems.
>>>
>>> On Sun, Jan 27, 2013 at 12:35 PM, Michael Havens <bmike1 at gmail.com>
>>> wrote:
>>> > I want to move my pictures folder to another folder in another
>>> partition.
>>> > How do I tell the computer that when I click on the pictures folder
>>> icon
>>> > (the folder with the polaroid on it) that I want to go to this
>>> directory in
>>> > the other partition?
>>> > :-)~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
>>> ---------------------------------------------------
>>> 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
>>>
>>
>>
>
> ---------------------------------------------------
> 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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20130128/53b97328/attachment.html>


More information about the PLUG-discuss mailing list