From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32168 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Kingett Newsgroups: gmane.text.pandoc Subject: Re: How do you change the output directory Date: Sun, 12 Feb 2023 07:48:44 -0800 (PST) Message-ID: References: <20150201065056.GD12964@localhost.hsd1.ca.comcast.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_242_853169492.1676216924520" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35559"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCQNXJVFZIBRBXMUUSPQMGQEF2AADVY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Feb 12 16:48:50 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-qt1-f183.google.com ([209.85.160.183]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pREav-00094R-Gw for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 12 Feb 2023 16:48:49 +0100 Original-Received: by mail-qt1-f183.google.com with SMTP id cr22-20020a05622a429600b003b694a9f291sf6030362qtb.1 for ; Sun, 12 Feb 2023 07:48:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :sender:from:to:cc:subject:date:message-id:reply-to; bh=Ae0obRheTcpCBL6+YhkwZSAhS7MYD5YNrxaEFf0z5D0=; b=Wlm64HqoCQohOMSyupItD09Wbg18A/5EGExry6sSvPWm5xddLmIgdIuBJOUtl+U59t 9hoYnDhpjLff26hpjjOEk1Tb86w0MyUrKi0IiuNlEccsL5uONgl4b8h0Ew3Rqnzvhzle 4vVVSpovf0vDSBBI+EkTWphwILKAZSfvQH6sQm1ub0aga4ksHhOmLOBNykiHUzuQFgsW 2yC4fyzx6A+JyGwcMfmZ59QAICBj8ZUdryaPRurVa2FPoXIeuIXQ22YJNIe430ypIVab jfJZx6gz9ygNerzzPczu3zES32rGDvJ6edwBeLFUiCTwlhKywFblEHTVC2O4i8aUtFIB Aulw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:references:in-reply-to:message-id:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=Ae0obRheTcpCBL6+YhkwZSAhS7MYD5YNrxaEFf0z5D0=; b=T3eiRHjyBqfZ3BmqM7GL+jisxrqhznatt28YFoz0qzZXEHofGFnC8a7QihhGDJuAGE j+gB/DdbwDK1gc42XbnBEkgTD2BUxGZrd/KX2h7YG488DFo0nalQ9fD9V/jQZ3PkkU5w 349H0OmkHiXxunrauGW75AIMDSmBGX7gaIoRcikcXDgK2Hca7XGdMh/8Zz2Lx6bFyZ+p 6hSCgeLrKZHS+xQUEInzkxO7JRtNLFigmp+w8deTtdM1rUT2D2j7YtIIqWYYMRy7xrmG Bvhf3imyquSt+PTcoqPXNsSvzOOggqBi+x0mRfTht0WXa1bLnL5QhhCtdJMmR8FNRYXq 1RNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-sender:mime-version:subject:references:in-reply-to :message-id:to:from:date:x-gm-message-state:sender:from:to:cc :subject:date:message-id:reply-to; bh=Ae0obRheTcpCBL6+YhkwZSAhS7MYD5YNrxaEFf0z5D0=; b=5abRnnT1drLqek9Z4UfU/jEA7GFrR4ZBqPctJjLr10WzbETzahHLbxyKJEtRz56I18 7edBRsWJ/M4xw59mSG/6jiXi1KkArkzoeY7+apu1FIk3gTR6MDw9PbSuptrj6GlhBvjP MuVSniCFVlGrSECndYiDei5G3H+ZzZ0Paj7wO2+/Chtmm0xuU/B++77Ij9R66R+h3LR8 Ts6YdM3rZTLoHFjB+IkGLl/2cOJ3I501Kmu8NzFBnebM5ICxCuKDuDARiF7zb4ObivEp zm+yVEQH/T8ZudslKj1As4TctYqG8A0IoWUXvoTnL7ek1zl0YMQweTCdabt7sScLOCJ5 CISQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AO0yUKWzPTQivsn39saX8bzNYV9LKtEWYCKIs1ICPgN0gIocXbX5BewR eqnSO/NHgGmpqKWkhofL1Q0= X-Google-Smtp-Source: AK7set+fFrViNWN7P8MOqLkHAXZZFcuh/rb44IMipLuGoYf/kaR1jWFHzUrK/rWOS4IZyBcXEGzcNQ== X-Received: by 2002:a0c:f3ca:0:b0:56e:986f:cc09 with SMTP id f10-20020a0cf3ca000000b0056e986fcc09mr463514qvm.44.1676216928328; Sun, 12 Feb 2023 07:48:48 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:622a:1e0d:b0:3b7:ea5e:962f with SMTP id br13-20020a05622a1e0d00b003b7ea5e962fls11060436qtb.6.-pod-prod-gmail; Sun, 12 Feb 2023 07:48:45 -0800 (PST) X-Received: by 2002:a05:622a:185:b0:3b6:2c78:2945 with SMTP id s5-20020a05622a018500b003b62c782945mr3363051qtw.48.1676216925317; Sun, 12 Feb 2023 07:48:45 -0800 (PST) In-Reply-To: <20150201065056.GD12964-bi+AKbBUZKbivNSvqvJHCtPlBySK3R6THiGdP5j34PU@public.gmane.org> X-Original-Sender: kingettspeaks-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32168 Archived-At: ------=_Part_242_853169492.1676216924520 Content-Type: multipart/alternative; boundary="----=_Part_243_687816721.1676216924520" ------=_Part_243_687816721.1676216924520 Content-Type: text/plain; charset="UTF-8" I know this is an old thread, but I am trying to create a folder with many outputs. I tried to follow the thread but, upon exporting, I keep getting an invalid argument error. I am trying to batch all inputs from a folder into a subfolder inside the same directory, so that all outputs are in a different folder. I've tried the following but it is not creating the folder and putting files in that folder. gci -r -i *.docx |foreach{$md=$_.directoryname+"\"+$_.basename+".md";pandoc -f docx --wrap=none -s $_.name -o here/$md} On Sunday, February 1, 2015 at 12:51:10 AM UTC-6 John MacFarlane wrote: > Sure. Assuming you're in C:\Example, you could do > > pandoc myfile.txt -s -o here\myfile.html > > Or, if you're somewhere else, > > pandoc C:\Example\myfile.txt -s -o C:\Example\here\myfile.html > > +++ Darren Doyle [Jan 31 15 20:33 ]: > >Let's say I had a markdown document located in C:\Example. > >If I converted it to HTML can I set the output directory for that file to > a > >different folder (C:\Example\here)? > > > >-- > >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 post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > >To view this discussion on the web visit > https://groups.google.com/d/msgid/pandoc-discuss/e185159b-34cb-4dcb-9825-cb842a876b4e%40googlegroups.com > . > >For more options, visit https://groups.google.com/d/optout. > > -- 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/f9089c8d-e19b-4652-a068-215591b1446bn%40googlegroups.com. ------=_Part_243_687816721.1676216924520 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I know this is an old thread, but I am trying to create a folder with many = outputs. I tried to follow the thread but, upon exporting, I keep getting a= n invalid argument error.

I am trying to batch all inp= uts from a folder into a subfolder inside the same directory, so that all o= utputs are in a different folder.

I've tried the= following but it is not creating the folder and putting files in that fold= er.

gci -r -i *.docx |foreach{$md=3D$_.directory= name+"\"+$_.basename+".md";pandoc -f docx --wrap=3Dnone -s $_.name -o here/= $md}
On Sunday, February 1, 2015 at 12:51:10 AM UTC-6 John MacFarlane wro= te:
Sure. Ass= uming you're in C:\Example, you could do

pandoc myfile.txt -s -o here\myfile.html

Or, if you're somewhere else,

pandoc C:\Example\myfile.txt -s -o C:\Example\here\myfile.html

+++ Darren Doyle [Jan 31 15 20:33 ]:
>Let's say I had a markdown document located in C:\Example.
>If I converted it to HTML can I set the output directory for that f= ile to a
>different folder (C:\Example\here)?
>
>--=20
>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, s= end an email to pandoc-discus...= @googlegroups.com.
>To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
>To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e185159b-34cb-4= dcb-9825-cb842a876b4e%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d= /msgid/pandoc-discuss/f9089c8d-e19b-4652-a068-215591b1446bn%40googlegroups.= com.
------=_Part_243_687816721.1676216924520-- ------=_Part_242_853169492.1676216924520--