Skip to content

SimpleNotes cat: pull down notes from SimpleNotes for backup, further actions

Notifications You must be signed in to change notification settings

toddfoster/sncat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sncat

SimpleNotes cat: pull down notes from SimpleNotes for backup, further actions


Gets email, password, destdir from ~/.sncatrc with one per line: email = [email protected]

Fetches files from SimpleNote using supplied credentials. Saves them in destdir.

If you delete a note and create a new one with the same name, behavior is indeterminate on the following sync. Sorry. On subsequent sync's it should be downloaded.

Begun 21 April 2012. Achieved desired minimum function 22 April 2012. Further development isn't terribly likely.

Done

  • save credentials / config elsewhere
  • save all files
  • don't save first line (use as filename)
  • don't save deleted notes
  • check for minimum required options (email, password, destdir?)
  • keep notes data; only update changed notes
  • delete deleted notes: beware notes with same names but different keys!
  • re-download missing files that aren't marked for deletion

TODO

  • handle collision between filenames deleted and created
    • wouldn't be an issue if keys were filenames; but less human friendly
  • allow specification of alternate .sncatrc or override values via command line arguments
  • support unicode in titles -> filenames
  • verbose(debug)/silent modes?

Someday

  • two-way syncing

Credits

License

You can use it in whatever without attribution. If you do, it's not my fault.

About

SimpleNotes cat: pull down notes from SimpleNotes for backup, further actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published