Changing the Location of Your Data Files

StockMarketEye data files contain all of the investing information that you have entered into StockMarketEye. Watchlists, Portfolios, Transactions and even historical stock prices are stored in a special set of files on your computer.

Some users, however, may wish to keep their investing information in a different location. For example...

  • You want to keep your investing information on a USB key or external hard drive so you can take the data with you.
  • You want to keep your investing information on a separate disk that is backed up regularly.
  • You want to keep your investing information on an encrypted partition.

StockMarketEye allows you to do any of these by making it easy to change the location of the data files that it uses.

Default Location

By default, StockMarketEye stores its data files in a folder called “db” in a standard location on your computer.

Mac OS X (non-Mac Store version)

/Users/<your user>/Library/Application Support/StockMarketEye40/db

Note: On Lion and later, the Library folder is hidden by default. See this page for how to unhide it.

Mac OS X (Mac Store version)

/Users/<your-user>/Library/Containers/com.stockmarketeye.mac/Data/Library/Application Support/StockMarketEye40/db

Note: On Lion and later, the Library folder is hidden by default. See this page for how to unhide it.

Windows 10/8/7/Vista C:\Users\<your user>\AppData\Roaming\StockMarketEye40\db
Windows XP C:\Documents and Settings\<your user>\Application Data\StockMarketEye40\db
Linux /home/<your user>/.StockMarketEye40/db

Changing the Data File Location

You can follow these steps to change the location of the data files that StockMarketEye uses.

Note

The data file location can not be changed when using the Mac App Store version of StockMarketEye. This is due to sandboxing restrictions built-into Mac OS X.

  1. We strongly suggest using StockMarketEye’s Backup/Restore feature to backup your data before you change the data file location. This will ensure that you can recover from any problems that might happen while working through the steps below.
  2. Make sure that StockMarketEye is not running!

Attention

Always quit StockMarketEye before ejecting or unmounting any removable media on which you store the StockMarketEye data files.

If you remove a USB key or external hard drive where the StockMarketEye data base is stored before quitting StockMarketEye, your data will be corrupted.

  1. Copy the “db” folder from the default location (listed above) to the place you want to store the data. This can be a removable drive, a network drive or simply a different location on your computer.
  2. Use a text editor to edit the following file. NOTE: this file may not yet exist. In this case, you will have to create a new file. Be sure that the file is called “sme_overrides.properties”. There should not be any other ending (such as ‘.txt’, which Windows Notepad adds) on the file name.
Mac OS X (non-Mac Store version)

/Users/<your user>/Library/Application Support/StockMarketEye40/sme_overrides.properties

Note: On Lion and later, the Library folder is hidden by default. See this page for how to unhide it.

Mac OS X (Mac Store version)

/Users/<your user>/Library/Application/Users/<your user>/Library/Application Support/StockMarketEye40/sme_overrides.properties

Note: On Lion and later, the Library folder is hidden by default. See this page for how to unhide it.

Windows 10/8/7/Vista C:\Users\<your user>\AppData\Roaming\StockMarketEye40\sme_overrides.properties
Windows XP C:\Documents and Settings\<your user>\Application Data\StockMarketEye40\sme_overrides.properties
Linux /home/<your user>/.StockMarketEye40/sme_overrides.properties
  1. Add the following line to the sme_overrides.properties file, replacing <db-folder-location> with the new location of the “db” folder (from step #1).
sme.db.dir=<db-folder-location>

Here are some examples:

Mac OS X sme.db.dir=/Volumes/MyUSBKey/StockMarketEye_data/db
Windows 10/8/7/Vista

sme.db.dir=C:\Users\john\My Encrypted Stuff\StockMarketEye_data\db

Note: Spaces in the path name can sometimes cause problems. If you’re having issues with it not recognizing the folder correctly, try a path without spaces.

Windows XP sme.db.dir=E:\StockMarketEye_data\db
Linux sme.db.dir=/media/MyUSBKey/StockMarketEye_data/db
  1. Save the sme_overrides.properties file.
  2. Start StockMarketEye.

Trouble Shooting

Here are some of the common problems you might see and how you can fix them.

  • When starting StockMarketEye you see a window that says “We have detected another instance of StockMarketEye running on your computer.”

    This most likely means that StockMarketEye could not read the data files from the new location. Ensure that you can view the contents of the “db” folder and that the location specified in the sme_overrides.properties file is correct.

  • When starting StockMarketEye you see the default StockMarketEye window, containing only the default Watchlists and Portfolios. Your Watchlists and Portfolios are not there.

    This happens when the location specified in the sme_overrides.properties file does not exist. StockMarketEye will create new data files at this location and use them. You can solve this problem by setting the location in sme_overrides.properties to the correct location of your StockMarketEye data files (“db” folder).

Questions or Problems

If you have any questions or problems, don’t hesitate to contact our support team.

Try it for Free!

Try our software, free, for 30-days. No credit-card or email required.
Just download, install and run.

Get StockMarketEye Try it for free!
Available for:  Investment Management Software for Windows 8 / 7 / Vista / XP      Investment Management Software for Mac OS X      Investment Management Software for Linux      Investment Management Software for iOS Investment Management Software for Android