Create Symbolic link using v-move-folder-and-make-symlink command

Post Reply
User avatar
isscbta
Team Member
Posts: 130
Joined: Mon Jul 19, 2021 1:41 am
Has thanked: 15 times
Been thanked: 3 times

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:

Code: Select all

FROMFOLDER="/home/user"
TOFOLDER="/mnt/volume/home/user"
v-move-folder-and-make-symlink "$FROMFOLDER" "$TOFOLDER"

Tags:
Post Reply