Difference between revisions of "Data Directory"

From Sexcoin Wiki
Jump to: navigation, search
(Created page with "<noinclude>The Sexcoin '''data directory''' contains the files necessary for the Sexcoin client to run. Each operating system has its own standards for where such director...")
 
(No difference)

Latest revision as of 19:36, 10 July 2017

The Sexcoin data directory contains the files necessary for the Sexcoin client to run. Each operating system has its own standards for where such directories should be stored, as seen in the table below. For the user, the most important files in the data directory are the wallet.dat and sexcoin.conf files. The blockchain is also stored in the data directory.

Location of data directory

Operating system Default data directory location Typical path to configuration file
Linux $HOME/.sexcoin/ /home/<username>/.sexcoin/sexcoin.conf
Mac $HOME/Library/Application Support/Sexcoin/ /Users/<username>/Library/Application Support/Sexcoin/sexcoin.conf
Windows %APPDATA%\Sexcoin\ XP -- C:\Documents and Settings\<username>\Application Data\Sexcoin\sexcoin.conf

Vista, 7 -- C:\Users\<username>\AppData\Roaming\Sexcoin\sexcoin.conf

Portable Sexcoin - choosing a data directory

Changing the data directory from the default location is extremely simple. Launching your sexcoin client (sexcoind or sexcoin-qt) with the flag -datadir=<newfolder> is the simplest method of running Sexcoin from any directory you choose. This method is extremely useful for running the client on a USB key, for example.

In Windows, you can make a shortcut to the Sexcoin executable file and enter the properties page (right click, Properties). You can easily append the -datadir flag to the run path: "C:\Program Files (x86)\Sexcoin\sexcoin-qt.exe" -datadir=F:\Sexcoin

Note: You can not run Sexcoin from the root directory (eg: F:\), it must be run from its own subdirectory (F:\Sexcoin).

If you've already run the Sexcoin client, you just need to move the files from the default data directory to your new directory.

Related articles