Skip to content

Bash scripts for manipulating google keep notes exports

Notifications You must be signed in to change notification settings

Harduex/google-keep-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

google-keep-converter

Bash scripts for manipulating google keep notes exports

Dependencies

jq

Usage

Converting all notes to txt files

Export your google keep notes from google takeout

Copy / Replace google-keep-converter/Data/Keep with your exported Keep folder

or set DATA_DIR in .env file to the absolute path of your Takeout folder that contains Keep folder with your notes inside.

Then in Bash:

$ cd google-keep-converter/Scripts
$ ./convertNotesToTxt.sh -d

use -d flag to include dates in the converted notes

Wait the script to finish execution. Check your converted notes in google-keep-converter/Data/Converted directory.

Get random note

From converted notes

$ ./getRandomNoteTxt.sh

Notes that you get are moved to google-keep-converter/Data/Converted/Seen directory.

From original Keep folder

$ ./getRandomNoteJson.sh

Notes that you get are moved to google-keep-converter/Data/Keep/Seen directory.

Split converted notes to multiple folders

$ ./splitConvertedNotesIntoFolders.sh -f 20

use -f flag to specify the count of files in every directory