public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: BPJ <bpj-J3H7GcXPSITLoDKTGw+V6w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Gdoc to md
Date: Mon, 22 May 2023 17:40:52 +0200	[thread overview]
Message-ID: <CADAJKhBnEqDvSh6EEm56zah-+Tt0hYwnQUbm3fjQqzcbvWh7Aw@mail.gmail.com> (raw)
In-Reply-To: <CAOtJyj6a2TLz9fUC+f0RcHXCy3a=n+WaaE=zskP3_tsDnPrCLA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 5477 bytes --]

https://www.computerworld.com/article/2835663/easily-convert-google-drive-files-to-microsoft-office-in-one-big-batch.html

Den mån 22 maj 2023 15:06Mark Pinsley <mark-NHpudssogepBDgjK7y7TUQ@public.gmane.org> skrev:

> Thank you.
>
> Background: I have several hundred gdocs that I want to convert to
> markdown. I will then clean up the documents in markdown and convert from
> md to HTML.
>
> What I have been trying to **avoid** is having to open all of the gdocs
> one by one and then have to save them as a docx one by one. I am trying to
> get from gdoc -> markdown  as easily as possible
>
> THX!
>
> On Mon, May 22, 2023 at 3:20 AM ThomasH <therch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>> What do you want to batch process? The downloading or the translation
>> with pandoc?
>>
>> For batch translation you can use something like this:
>>
>> find <subdir> -name "*.docx" -exec sh -c 'f=`printf "%q" \{}`;  pandoc
>> --from docx --to md --output=<subdir>/${f%.*}.md $f' \; -print
>>
>> On Sunday, May 21, 2023 at 4:47:25 PM UTC+2 Mark Pinsley wrote:
>>
>>> Thank you.
>>> Is there someway to batch process this as there are a lot of files
>>>
>>> Thx
>>> Mark
>>>
>>>
>>>
>>> On May 21, 2023 at 3:35 AM, <BPJ> wrote:
>>>
>>> Just download them as DOCX (the gdoc download mechanism has an option
>>> for that) and convert those DOCX files. I do it "all the time" (I don't use
>>> gdoc myself but my collaborators do). Uploading DOCX to gdoc is also a
>>> breeze.
>>>
>>> Den fre 19 maj 2023 23:50Mark Pinsley <ma...-NHpudssogepBDgjK7y7TUQ@public.gmane.org> skrev:
>>>
>>>> I have a whole bunch of google docs in a folder. Let say 20 files for
>>>> the time being, I have a lot more than that, but in one directory there are
>>>> twenty files.
>>>>
>>>> I want to convert all of these files from .gdoc to .md
>>>>
>>>> 1. I didn't see any way for pandoc to do this, is there a way?
>>>> 2. Is there a way to batch process this? I don't want to have to go
>>>> into every google doc and save as, and then convert
>>>>
>>>> Lastly, what tools are you using to collaborate in MD. are you putting
>>>> things into github? If so are you using the Github editor or another
>>>> editor. I was using StackEdit, but it doesn't look like it is being
>>>> supported.
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "pandoc-discuss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/pandoc-discuss/b3abcff6-701d-4a64-b5b0-9faee1b2b1a4n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/pandoc-discuss/b3abcff6-701d-4a64-b5b0-9faee1b2b1a4n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>>
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "pandoc-discuss" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/pandoc-discuss/B4Jq1uKSe0I/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhA7A1QLd5SMqkvxs%2BNCCSxSap-NBVzG1-XW1wf8zjdxwg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhA7A1QLd5SMqkvxs%2BNCCSxSap-NBVzG1-XW1wf8zjdxwg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "pandoc-discuss" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/pandoc-discuss/B4Jq1uKSe0I/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/pandoc-discuss/948f1dc9-3efb-4b0c-b6b8-d72b446999adn%40googlegroups.com
>> <https://groups.google.com/d/msgid/pandoc-discuss/948f1dc9-3efb-4b0c-b6b8-d72b446999adn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/CAOtJyj6a2TLz9fUC%2Bf0RcHXCy3a%3Dn%2BWaaE%3DzskP3_tsDnPrCLA%40mail.gmail.com
> <https://groups.google.com/d/msgid/pandoc-discuss/CAOtJyj6a2TLz9fUC%2Bf0RcHXCy3a%3Dn%2BWaaE%3DzskP3_tsDnPrCLA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhBnEqDvSh6EEm56zah-%2BTt0hYwnQUbm3fjQqzcbvWh7Aw%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 8920 bytes --]

  parent reply	other threads:[~2023-05-22 15:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-19 21:49 Mark Pinsley
     [not found] ` <b3abcff6-701d-4a64-b5b0-9faee1b2b1a4n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-05-19 21:55   ` Craig Parker
     [not found]     ` <CAHzYjEskCjZkHZcxmNj2n5Y19Y-PN3gq+DxWS8cUXg6XwcfsGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-20  0:38       ` Alan Tyree
2023-05-20 14:10   ` Joseph Reagle
2023-05-21  7:34   ` BPJ
     [not found]     ` <CADAJKhA7A1QLd5SMqkvxs+NCCSxSap-NBVzG1-XW1wf8zjdxwg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-21 14:47       ` Mark Pinsley
     [not found]         ` <8A9C0319-D2C4-4A77-B50E-02B2FCC050AD-85mlybbDJu0gu7xKmIUUUg@public.gmane.org>
2023-05-22  7:20           ` ThomasH
     [not found]             ` <948f1dc9-3efb-4b0c-b6b8-d72b446999adn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-05-22 13:05               ` Mark Pinsley
     [not found]                 ` <CAOtJyj6a2TLz9fUC+f0RcHXCy3a=n+WaaE=zskP3_tsDnPrCLA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-22 15:40                   ` BPJ [this message]
     [not found]                     ` <CADAJKhBnEqDvSh6EEm56zah-+Tt0hYwnQUbm3fjQqzcbvWh7Aw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-22 15:57                       ` BPJ
     [not found]                         ` <CADAJKhC4jVpHARoWWhuUSHbMzC=zk=hnvkdS6+Ly6ci6XhuykQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2023-05-22 16:23                           ` BPJ
2023-05-22 15:34           ` BPJ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADAJKhBnEqDvSh6EEm56zah-+Tt0hYwnQUbm3fjQqzcbvWh7Aw@mail.gmail.com \
    --to=bpj-j3h7gcxpsitlodktgw+v6w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).