| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
snb2md.py is a simple Python script to convert Samsung S-Note .snb files to markdown .md text files. It extracts the embedded images from the .snb and converts the freehand drawings and images from .zdib format (which ordinary programs can't read) to .png format.
I modified original script written in Python2 by Matthias S. Benkmann in his repository.
I needed this script for my personal migration from S-Note to Obsidian (I also added wikilinks support with -w flag, but without this flag exported files can be used with any markdown compatible editor).
Second script (recursive) also supports conversion of multiple files to one exported folder.
Since this scripts were an ad-hoc solution for a one-time migration, it is neither perfect nor under active development but I'll be happy to include patches you send me, and you can also ask for modifications (maybe I will find time :)
It's safest to place these script files in the same directory you have your .snb files (but you may have also subdirectories with .snb files, recursive script supports that).
This script is used to convert a single Samsung S-Note .snb file to a markdown .md file. You can use it by typing in your console:
python snb2md.py [options] inputFile.snbOptions
This script is used to convert multiple Samsung S-Note .snb files to markdown .md files. It requires the snb2md.py script to be in the same directory. You can use it by typing in your console:
python snb2md-recursive.py [options] startingDirectoryOptions
Remember to replace inputfile.snb and startingDirectory, with your actual file or directory names.
These scripts are written in Python 3 and require Python 3 to be installed on your system. They also use several Python libraries, which are not included in Python standard library (Pillow and unidecode), but can be installed using pip:
pip install -r requirements.txt| Back | FazBrowse Home | New Git URL |