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 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 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 -name "*.docx" -exec sh -c 'f=`printf "%q" \{}`; pandoc >> --from docx --to md --output=/${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, 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 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 >>>> >>>> . >>>> >>> -- >>> >>> 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 >>> >>> . >>> >>> -- >> 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 >> >> . >> > -- > 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 > > . > -- 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.