LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Move evolution e-mail folders and files to different partition (https://www.linuxquestions.org/questions/linux-desktop-74/move-evolution-e-mail-folders-and-files-to-different-partition-4175495165/)

cigtoxdoc 02-16-2014 07:05 PM

Move evolution e-mail folders and files to different partition
 
Running evolution 3.2.3 under Ubuntu 12.04 64-bit. Right now, the data files and folders for evolution are under /home/john/.local/share/evolution/. This is in same partition with the OS and program files. I want to move the /evolution/ folder and subfolders to another partition that is labeled /media/MyChemistry/ so that the new location for the evolution folder and subfolders would be /media/MyChemistry/evolution/ . This disk partition is permanently mounted (unlike a thumbdrive, for example) and shows up when PC boots.

On another forum a symlink was suggested, but did not seem to work. I would prefer a hardlink.

Thank you,

JOhn

evo2 02-16-2014 08:01 PM

Hi,

a symlink should work. If you can explain what you mean by "did not seem to work" we should be able to help.

In principle it should be as simple as:
Code:

cd /home/john/.local/share/
mv evolution /media/MyChemistry
ln -s /media/MyChemistry/evolution .

NB. You should make sure evolution is not running while doing the above.

Note also that you hardlinks can only exist within a single partition.

Evo2.

cigtoxdoc 02-16-2014 09:16 PM

Thank you for your reply. Other advice I had gotten probably had sym link sent wrong. Also, I had copies the evolution folder to /MyChemistry as part of the first event.

Yes, you method may have the potential to work, but somehow the Inbox file did not move as intended, and I had to restore evolution from the file I made earlier this afternoon.

The restore put everything back under /home/john/.local/share/

Perhaps someone will tell us how to make evolution point to another directory.

John

evo2 02-16-2014 10:22 PM

Hi,
Quote:

Originally Posted by cigtoxdoc (Post 5118978)
Thank you for your reply. Other advice I had gotten probably had sym link sent wrong. Also, I had copies the evolution folder to /MyChemistry as part of the first event.

In that case you should first delete /media/MyChemistry/evolution, eg
Code:

rm -r /media/MyChemistry/evolution
Quote:

Originally Posted by cigtoxdoc (Post 5118978)
Yes, you method may have the potential to work, but somehow the Inbox file did not move as intended, and I had to restore evolution from the file I made earlier this afternoon.

Did you stop/kill evolution before moving the files and creating the symlink?
Quote:

Originally Posted by cigtoxdoc (Post 5118978)
Perhaps someone will tell us how to make evolution point to another directory.

I don't use evolution so I can't confirm or deny if that is possible. If you want to try that route I suggest reading the evolution documentation.

Evo2.


All times are GMT -5. The time now is 03:37 AM.