Symlink LODs to another drive

is it possible? how can i do that?
35 Replies
hardester
hardester7mo ago
Possible, but the easiest solution would be to symlink the entire .minecraft folder to your separate drive (my case).
DeFra
DeFraOP7mo ago
thats fine? canu tell how
hardester
hardester7mo ago
Windows PowerShell (Admin required)
New-Item - Type SymbolicLink -Path $env:AppData\.minecraft -Target path\to\new-location
New-Item - Type SymbolicLink -Path $env:AppData\.minecraft -Target path\to\new-location
DeFra
DeFraOP7mo ago
im linux
hardester
hardester7mo ago
I forgot where it is stored in the local home dir but:
ln -s <path to Minecraft> <your target location here>
ln -s <path to Minecraft> <your target location here>
DeFra
DeFraOP7mo ago
thx i try can i do it while game runs?
hardester
hardester7mo ago
Absolutely NOT. :harold: Be sure to move the files first to your new location before doing it.
DeFra
DeFraOP7mo ago
oh so i use mv with .minecraft
hardester
hardester7mo ago
Actually, I think the path are inverted.
DeFra
DeFraOP7mo ago
then ln i mean
hardester
hardester7mo ago
Yeah.
DeFra
DeFraOP7mo ago
move .mineacraft to disk then do ln -s .minecraft old.minecraftlocation like this?
hardester
hardester7mo ago
Yeah first I need to update the command.
DeFra
DeFraOP7mo ago
but its a dir doesnt it need -r or smth
hardester
hardester7mo ago
For mv, yes.
DeFra
DeFraOP7mo ago
ln
hardester
hardester7mo ago
ln creates a link to anything. No need for special switch apart from the -s to signify creating a symbolic link.
DeFra
DeFraOP7mo ago
why symbolik
hardester
hardester7mo ago
Well, that's the full name for symlink: symbolic link.
DeFra
DeFraOP7mo ago
i meant what differs from just ln
hardester
hardester7mo ago
I don't know what behavior normal ln would do because I never tried creating a link without the switch. The switch is there just to be sure. Anyways, this seems correct enough.
DeFra
DeFraOP7mo ago
ok question why not just DH symlink?
hardester
hardester7mo ago
Doing it on a per-world basis would be pretty tedious if you have a lot. The LODs are stored inside each world folders.
DeFra
DeFraOP7mo ago
i have 1 always only 1 and its on a server Distant_Horizons_server_data is this what i have to link
hardester
hardester7mo ago
Update the command to then point to the location where the lod is stored. I'm having a meeting right now. Be right back.
DeFra
DeFraOP7mo ago
bb i instantly got a big error in game after doing so
DeFra
DeFraOP7mo ago
No description
hardester
hardester7mo ago
Did you do it while having the game running? :concern:
DeFra
DeFraOP7mo ago
no
hardester
hardester7mo ago
I'm on my way back home now. I'll check the proper commands by then.
DeFra
DeFraOP7mo ago
i used ln -s
hardester
hardester7mo ago
Nevermind, mother taking me to dinner outdoors. :harold:
DeFra
DeFraOP7mo ago
but its just ln -s bro
hardester
hardester7mo ago
So how did you insert the command?
DeFra
DeFraOP7mo ago
ln -s dir dir
Want results from more Discord servers?
Add your server