Cloud storage that can be configured from bash script

I’d like to know after installing Dropbox, how could I change it’s location from the command line? And if that is not possible, what is a cloud storage with which I can do that?