On Thu, 5 Dec 2019 at 11:32, Tristan Kohl <[email protected]> wrote: > > Thank you Mathieu, using pk search gives me at least all blob refs I need. > but how do I get my files with pk get dumped on my local filesystem > (preferrably with their original file names)?
Afair, if you use the -contents option, it should create the file on disk for you, and if a filename is found in the file schema it will use it as well. > When I "open" a pdf in my web interface and navigate via "blob" => > "camliContent" I can see, that the indexer knows about its original file name. > > I ran this command to get all refs: >> >> pk search -limit -1 before:2019-12-01 I think this will give you blorefs of permanodes, not file blobrefs. You then have to follow the camliContent attribute to get the file that is associated to each permanode. > As expected it returned a JSON containing ~1500 blob refs. But how do I > proceede from here? Unfortunately the documentation is not very clear about > downloading files locally. > > Thank you for your help, > Tristan > > On Thursday, December 5, 2019 at 9:36:49 AM UTC, mathieu.lonjaret wrote: >> >> Hello, >> >> you could: >> 1) either use a combination of pk search and pk get (e.g. in a script) >> 2) or use the web UI (select the ones you want, then download them as a zip) >> >> btw, even if you did have pk-mount working I don't think you would be >> able to download all your files (if there are many) very easily, since >> afaik the "view" that pk-mount gives you is often based on searches >> with a bounded result. For example, the "recent" directory shows you >> only the 100 most recent permanodes, not all of them. >> >> Cheers, >> Mathieu >> >> On Thu, 5 Dec 2019 at 08:23, Tristan Kohl <[email protected]> wrote: >> > >> > Well I still had no success so far using pk-mount, sha224-xxx remains >> > empty. Is there any other option for me to just get access to all my files >> > i.e. some "export" of some sort? >> > >> > Cheers, >> > Tristan >> > >> > -- >> > You received this message because you are subscribed to the Google Groups >> > "Perkeep" group. >> > To unsubscribe from this group and stop receiving emails from it, send an >> > email to [email protected]. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msgid/perkeep/180adb0c-d532-49c6-bc8e-585e8580d6dc%40googlegroups.com. > > -- > You received this message because you are subscribed to the Google Groups > "Perkeep" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/perkeep/befd45d3-f8af-413e-8efd-69e2b3748cc8%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Perkeep" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/perkeep/CAHcDtn%3DmAuYWKyw8O2a_gVQ8rq2PAfG0VvPfMn%2BNjF5uFHzQXw%40mail.gmail.com.
