That's right. You don't need to prefix anything to 100 and up since you have less than 1000 files. Den mån 12 sep. 2022 19:33mr vicky skrev: > you means i rename like this > 001.html > 002.htnl > 003.html > 004.html > 005.html > 006.html > 007.html > 008.html > 009.html > 010.html > > check this 10th number is right ? > and what about when i reach 100 number of file and then 200 number of file > because my files are more than 400 > > On Mon, 12 Sep 2022 at 10:09 pm, BPJ wrote: > >> just type *.html (star included) and it will be as if you had listed all >> the .html files in the current directory in alphabetical order. >> It doesn't have to be the current directory: if the files are in a >> subdirectory html then html/*.html will work. >> >> Note that you shouldn't just prepend a zero to all file names: you should >> prepend two zeroes to files 0.html through 9.html and one zero to files >> 10.html through 99.html; the goal is for all file names to start in the >> same number of digits. >> >> Den mån 12 sep. 2022 18:56mr vicky skrev: >> >>> i can use also >>> i have software which will rename all files and ad 0 before numbers but >>> tell me will i write all files name in command or just from file one to >>> last number file ? >>> >>> On Mon, 12 Sep 2022 at 9:52 pm, BPJ wrote: >>> >>>> I would use a script to change the names to zero-padded format and then >>>> glob them. >>>> >>>> Den mån 12 sep. 2022 16:49mr vicky skrev: >>>> >>>>> i have more than 100 html files evan more than 400 html files and my >>>>> all files name are like this 1.html, 2.html 3.html 4.html >>>>> so i can convert them all in single epub ? >>>>> and i need to write all file names in command ? >>>>> On Friday, September 9, 2022 at 6:01:30 PM UTC+5 BPJ wrote: >>>>> >>>>>> Generally you can just list them on the command line and pandoc will >>>>>> concatenate them: >>>>>> >>>>>> ``````shell >>>>>> pandoc -o all.pdf -f html html1 html2 html3 >>>>>> `````` >>>>>> >>>>>> Globbing might work >>>>>> >>>>>> ``````shell >>>>>> pandoc -o all.pdf -f html html* >>>>>> `````` >>>>>> >>>>>> but note that the shell sorts "alphabetically" so html10 sorts before >>>>>> html2! You might want to zero-pad the numbers in the file names: >>>>>> >>>>>> html00, html01 .. html09, html10 .. html99 >>>>>> >>>>>> so that there are two (or three) digits in every filename. I usually >>>>>> name my files using three digits with "gaps" *before* the actual name: >>>>>> >>>>>> 000-frontmatter.md >>>>>> 010-preface.md >>>>>> 020-introduction.md >>>>>> 030-preliminaries.md >>>>>> 040-advanced.md >>>>>> >>>>>> so that if I later want to insert a chapter between say the third and >>>>>> fourth chapter I can number it 035-something.md and if I want to insert a >>>>>> chapter before that I can call it 033-whatever.md so that I don't need to >>>>>> renumber several files and globbing >>>>>> >>>>>> ``````shell >>>>>> pandoc -o all.pdf *.md >>>>>> `````` >>>>>> >>>>>> will still give me all the files in correct order. >>>>>> >>>>>> /bpj >>>>>> >>>>>> Den fre 9 sep. 2022 12:31mr vicky skrev: >>>>>> >>>>>>> hello >>>>>>> i want to create pdf file from multiple html file. And the files >>>>>>> name are like this >>>>>>> html1 >>>>>>> html2 >>>>>>> html3 >>>>>>> >>>>>>> i want to convert them in single pdf or epub file >>>>>>> please can you explain me command and way of doing this ? >>>>>>> >>>>>>> Thank you >>>>>>> >>>>>>> -- >>>>>>> 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/caf40fb8-07cf-44a4-b0b6-732e8b5e9a5fn%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/2ec806d1-af88-4023-9d8b-fb2852935dfen%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/CADAJKhD84_%3DTbfO2hSQHpAnF3mbdTYc2fEG2CyumCPw9qC9Rsw%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/CAH8MJH_e67u4YMwCEYpeBfDY09jDCvfduubLkRdRKRLqh8hbAg%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/x3cVQPV2MWs/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/CADAJKhBme1EvsD6Lb0wYmBwx47AsPhpvu1Xp-ic12pnB_qM0GQ%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/CAH8MJH9mZCoj2gkgBSfO-PAc4ptwjBPj%2BnuHxVppG%3DRC7jGi9g%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/CADAJKhDaM033xRTbA%3DQ_TGHnOhCpS2-o0Fck8sDYZr3CfKSPhQ%40mail.gmail.com.