How to store Pictures folder on another hard drive?

6,631

Why it's as simple as deleting the Pictures folder first before linking my good man. Like so:

rm -rf ~/Pictures

ln -s /media/Images ~/Pictures
Share:
6,631

Related videos on Youtube

Sanam Patel
Author by

Sanam Patel

Updated on September 18, 2022

Comments

  • Sanam Patel
    Sanam Patel over 1 year

    I have multiple drives in a desktop computer. I want one of those drives to function as my /home/username/Pictures folder. Can this be done?

    I thought symbolic links could do this, but I'm not having any success.
    The target drive is /media/Images. Here's what I tried so far:

    terminal screenshot

    All four variations give me the same result, a shortcut inside the /Pictures folder.

    link inside folder

    This isn't what I want. I want the /Pictures folder itself to be the shortcut. How do I do this?

  • Sanam Patel
    Sanam Patel almost 12 years
    I hope it's something simple like this. I just tried your command and got "rm: cannot remove `/home/tom/Pictures': Is a directory" as an error.
  • Rinzwind
    Rinzwind almost 12 years
    rm -rf !!!!!!!!
  • Sanam Patel
    Sanam Patel almost 12 years
    Perfect, thanks. I was getting so frustrated! A quick fstab edit and I'm all set now.