[Libpst-devel] get the toplevel folder name used by readpst -r ?

Ivan Zakharyaschev imz at altlinux.org
Fri Aug 26 15:16:37 UTC 2016


Hello!

I've come across the following minor problem trying to automate my use of 
readpst -w /some/dir/ -r mailtst.pst : I can't predict the name of the 
top-level dir without some prior knowledge about the .pst.

Here I had known that it will be "mailtst" (from previous runs), and 
renamed the .pst file accordingly, so that this information is obvious.

The output of readpst -r is not enough, because it only mentions it in one 
line:

         "mailtst" - 28 items done, 0 items skipped.

without any indications that it is the top-level folder. And there are no 
lines of the form:

Processing Folder "Deletions"

for the top-level one.

How can I get the top-level dir from the .pst file?

(x-posted as http://unix.stackexchange.com/q/305937/4319 )

-- 
Best regards,
Ivan



More information about the Libpst-devel mailing list