Jump to content

Export/print list of notebooks


Recommended Posts

Is there any way to print out a list of your notebooks, arranged by stack? I just want a handy one page reference, so that I can look at it when I'm using the @notebook field in email subject lines.

 

A

Link to post
  • Level 5*

Hmmn.  Was trying to pipe the output of that command to a text file to make it easier to sort,  but I get 'access denied' a lot..  It's a while since I used the command line though... <_<

Link to post
  • Level 5

I can confirm that running "ENScript.exe listNotebooks > ntbklist.txt" (without the quotation marks) in a command prompt window created a text file called ntbklist.txt that listed all my notebooks. The order seems to be that in which they were created (!). At any rate, when I created a new notebook for test purposes, it appeared at the bottom of the list.

Link to post
  • Level 5*
6 hours ago, jefito said:

Don't use pipe ('|'), use redirection ('>')??

My bad - so long since I used DOS in anger that I forgot the proper names.  I was using '>' but called it wrong.  Thanks to both though for confirming it works.

@Dave-in-Decatur - with a text list my thought was that you can edit and sort it however you prefer.  :)

Link to post
  • Evernote Employee
On 10/12/2016 at 9:57 AM, jefito said:

Don't use pipe ('|'), use redirection ('>')??

pipe will work. In a cmd window I just tried:

enscript listNotebooks | sort

and it worked as expected. You could then redirect that into a file...

"enscript listNotebooks | sort > file.txt"

Link to post
  • Level 5*
1 hour ago, dconnet said:

it worked as expected

Yep, you just need to remember to use pipe to send it through to another program (like sort), and not to a file. Didn't know what gaz was up to, so I was just taking a guess at the problem. Turns out he's got it, er, sorted. :) 

Link to post
  • Level 5
23 hours ago, dconnet said:

pipe will work. In a cmd window I just tried:


enscript listNotebooks | sort

and it worked as expected. You could then redirect that into a file...

"enscript listNotebooks | sort > file.txt"

Brilliant! Works like a charm. Hope this will help @AlanA too.

Link to post
  • 4 months later...

Sorry to resurrect old thread. I am using enscript listNotebooks as part of a script (based on https://discussion.evernote.com/topic/53536-how-to-backing-up-evernote-using-powershell/) to monthly export all my notes, organized into notebook .enex files. Paranoid, I know. 

As expected, listNotebooks outputs all the notebooks. The enscript documentation suggests using listNotebooks /t synced [resp. local] to get only normal synched versus only local notebooks. However, it seems shared notebooks are excluded from the synced list, even though they are included in the overall (no /t switch) list. Is this a bug or a feature? If the latter, what's the /t switch to get shared notebooks? I've tried the obvious, namely "shared" but that doesn't work. 

Thanks!

Link to post
  • Level 5*

Doesn't make sense. Non-local notebooks that are part of the account are synced by definition, regardless of whether they're shared to someone else or not. Looks like an ENScript bug to me.

Link to post

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...