Change Home Directory of ./tezos-node

I’ve read the howto but I still can’t get the directory to change.

“All blockchain data is stored under $HOME/.tezos-node/ . You can change this by doing ./tezos-node config update –data-dir </somewhere/in/your/disk>.”

I’d like to put all data on an external drive as the internal drive is filling up when syncing the blockchain.

I’m running Ubuntu 18 on a dual boot Windows 10 laptop and my partition for Ubuntu isn’t large enough, that’s why I need an external drive.

Found some info. I’m still fairly new to Ubuntu.
Going to try this.

Ended up using an external SSD to install Ubuntu. I couldn’t solve the space issue on the partitioned drive (yet).

Still new to Ubuntu and learning on the way.