LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help..!! how do i change my default document directory to another drive (https://www.linuxquestions.org/questions/linux-newbie-8/help-how-do-i-change-my-default-document-directory-to-another-drive-691130/)

zizo 12-17-2008 01:16 AM

help..!! how do i change my default document directory to another drive
 
i want to change my default document directory to another driver, im using Ubuntu 8.10

camh 12-17-2008 01:53 AM

Move the folder: mv ~user/Documents /destination
Make a symlink to it: ln -s /destination/Documents ~user/Documents

benoy4007 12-17-2008 05:11 AM

for that your need to shift your /home location to other partation drive.

use fdisk -l
Then after creating new partation on other drive cp data from /home
Then unmout your original /home drive
Then mount your new drive
Add entry in /etc/fstab to make changes permenent.


All times are GMT -5. The time now is 10:40 AM.