Default export database location


#1

the default location is “net.zetetic.strip.mac”. this is a hidden folder in Library. I can not find a CSV file there. I concerned the file is hidden somewhere unencrypted. I have searched the HD using the IMAC finder in OS 10.12.6


#2

Hi @al92780

The CSV export location should follow the last location you had exported/saved in Codebook. So if you select a different location and export, it should default to that location next time. My assumption is that Secret Agent was recently enabled on that machine for you (or that was the last location you had up within Codebook?) The Secret Agent Script installs in this location: ~/Library/Containers/net.zetetic.Strip.mac/Data/Library/Application Scripts/net.zetetic.Strip.mac

Could you open Finder and Go → Go to Folder, paste that location in the address bar, and let me know if you’re able to locate your CSV (if not perhaps try this address: ~/Library/Containers/net.zetetic.Strip.mac) . Then try to export your CSV to a different location and see if it defaults to that location next time?

Please let me know if this allows you to locate your CSV and if you have any questions along the way. Thanks!

Cheers,
Micah


#3

The file went to the scripts location. That sounds like an insecure situation. If you do a Finder search for all the csv files, that file will not show up and one might assume it wasn’t written to HD .


#4

@al92780

That location is within the secure container for Codebook.

That being said, I agree that this isn’t a discoverable location like you mentioned (doesn’t show up in finder search).
We’re planning on making an adjustment to default the export location to the Home directory in a future update.

Thanks for taking the time to provide this feedback and help improve Codebook.

Cheers,
Micah


#5

Excellent idea.

Al


#6

I am confused. I closed Codebook and restarted Powerbook. i then went to the following location using “Go to Folder” using ~/Library/Containers/net.zetetic.Strip.mac.

The screen shot showed the "net.zetetic.strip.mac folder. Then under shared folder the collapsed Codebook folder and under that the codebook.csv Double clicking the CSV file opened it in Excel, Codebook still closed.

I did not expect this to happen as a previous stated this was a “secure container”.

Al


#7

@al92780

I apologize, I should have been clearer with my previous response about “secure container”.

I didn’t mean to imply that you wouldn’t be able to access this file while Codebook was closed. When you export your CSV, it’s unencrypted and doesn’t have any restrictions on opening.

In general, we’ve found that people tend to use the CSV export feature to print out a hard copy of their records as an additional backup then wipe the CSV from their computer.

What I was referencing about “secure container” was more related to App Sandbox: https://developer.apple.com/library/content/documentation/Security/Conceptual/AppSandboxDesignGuide/AboutAppSandbox/AboutAppSandbox.html

Cheers,
Micah


#8

A thought might be to use the desktop as default as it would be hard to forget about there


#9

@al92780

I was initially thinking that (or Documents) as well, but one of my colleagues pointed out that we’re defaulting to the “Home” Directory for Import as well. So I think for consistency, we’re most likely going to stick with that. Thanks!

Cheers,
Micah