Skip to content

Maccy recover cleared clipboards #810

Closed Answered by spekkii
spekkii asked this question in Q&A
Discussion options

You must be logged in to vote

I used #809 to get the Storage.sqlite and Storage.sqlite-wal files, as the cleared clipboard history should still be in the Storage.sqlite-wal.

  1. I then copied the folder ('/Users/xxxx/Library/Containers/org.p0deje.Maccy/Data/Library/Application Support/Maccy) and committed the WAL changes to the main database by running the command in the copied folder:
    sqlite3 Storage.sqlite "PRAGMA wal_checkpoint(FULL);"
  2. Next, I opened the Storage.sqlite. I used DB Browser for SQLite.
  3. Open the ZHISTORYITEMCONTENT table and filter by ZTYPE according to the type of copy it was (mine was plain text, so I filtered by public.utf8-plain-text).

That's how I recovered it, in case someone else might need to do …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by spekkii
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant