Create Symbolic link using v-move-folder-and-make-symlink command
Posted: Tue Mar 07, 2023 6:02 pm
You can use v-move-folder-and-make-symlink in situations when you need a quick and easy way to move the folder and create symbolic link on old folder path.
For example, you need to move /home/user to another drive and to match path /mnt/volume/home/user. To achieve this, in your SSH, as root, run:
For example, you need to move /home/user to another drive and to match path /mnt/volume/home/user. To achieve this, in your SSH, as root, run:
Code: Select all
FROMFOLDER="/home/user"
TOFOLDER="/mnt/volume/home/user"
v-move-folder-and-make-symlink "$FROMFOLDER" "$TOFOLDER"