How do I do a copy combined in Linux like copy /b a.avi + b.avi in DOS/Windows? - Help

This is a discussion on How do I do a copy combined in Linux like copy /b a.avi + b.avi in DOS/Windows? - Help ; Windows' Command/DOS Prompt: C:\>copy /b *.001 + *.002 + *.003 + *.004 + *.005 + *.006 output.avi Note: /b is binary and output.avi is the output combined file. How do I do the same in Linux? I cannot figure it ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: How do I do a copy combined in Linux like copy /b a.avi + b.avi in DOS/Windows?

  1. How do I do a copy combined in Linux like copy /b a.avi + b.avi in DOS/Windows?

    Windows' Command/DOS Prompt:
    C:\>copy /b *.001 + *.002 + *.003 + *.004 + *.005 + *.006 output.avi
    Note: /b is binary and output.avi is the output combined file.

    How do I do the same in Linux? I cannot figure it out.

    Thank you in advance.
    --
    "Ever watch ants just crawling around? They walk in that single straight line, a long, a long, long
    mile of ants. Sometimes they will walk over and pick up their dead friends and carry those around.
    I'm pretty sure it's because they can get in the carpool lane and pass up that line." --Ellen
    DeGeneres
    /\___/\
    / /\ /\ \ Ant @ The Ant Farm: http://antfarm.ma.cx
    | |o o| | Ant's Quality Foraged Links: http://aqfl.net
    \ _ / Please remove ANT if replying by e-mail.
    ( )

  2. Re: How do I do a copy combined in Linux like copy /b a.avi + b.avi in DOS/Windows?

    On Thu, 02 Dec 2004 03:44:37 -0600, ANTant@zimage.com wrote:
    | Windows' Command/DOS Prompt:
    | C:\>copy /b *.001 + *.002 + *.003 + *.004 + *.005 + *.006 output.avi
    | Note: /b is binary and output.avi is the output combined file.
    |
    | How do I do the same in Linux? I cannot figure it out.
    |
    | Thank you in advance.


    cat *.001 *.002 *.003 *.004 *.005 *.006 > output.avi


    --
    Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
    Asking for technical help in newsgroups? Read this first:
    http://catb.org/~esr/faqs/smart-questions.html#intro

  3. Re: How do I do a copy combined in Linux like copy /b a.avi + b.avi in DOS/Windows?

    On Thu, 02 Dec 2004 11:01:31 GMT, Paul Colquhoun wrote:
    > On Thu, 02 Dec 2004 03:44:37 -0600, ANTant@zimage.com wrote:
    >| Windows' Command/DOS Prompt:
    >| C:\>copy /b *.001 + *.002 + *.003 + *.004 + *.005 + *.006 output.avi
    >| Note: /b is binary and output.avi is the output combined file.
    >|
    >| How do I do the same in Linux? I cannot figure it out.
    >|
    >| Thank you in advance.
    >
    >
    > cat *.001 *.002 *.003 *.004 *.005 *.006 > output.avi


    While that will concatenate the files, playback may be problematic. Do a
    google for avimerge. I believe it's part of the transcode project.

    Rinaldi
    --
    People will accept your ideas much more readily if you tell them that
    Benjamin Franklin said it first.

  4. Re: How do I do a copy combined in Linux like copy /b a.avi + b.avi in DOS/Windows?

    On Thu, 02 Dec 2004 10:26:49 -0600, Rinaldi J. Montessi wrote:
    | On Thu, 02 Dec 2004 11:01:31 GMT, Paul Colquhoun wrote:
    |> On Thu, 02 Dec 2004 03:44:37 -0600, ANTant@zimage.com wrote:
    |>| Windows' Command/DOS Prompt:
    |>| C:\>copy /b *.001 + *.002 + *.003 + *.004 + *.005 + *.006 output.avi
    |>| Note: /b is binary and output.avi is the output combined file.
    |>|
    |>| How do I do the same in Linux? I cannot figure it out.
    |>|
    |>| Thank you in advance.
    |>
    |>
    |> cat *.001 *.002 *.003 *.004 *.005 *.006 > output.avi
    |
    | While that will concatenate the files, playback may be problematic. Do a
    | google for avimerge. I believe it's part of the transcode project.


    The DOS 'copy' command would have the same problem.


    --
    Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
    Asking for technical help in newsgroups? Read this first:
    http://catb.org/~esr/faqs/smart-questions.html#intro

  5. Re: How do I do a copy combined in Linux like copy /b a.avi + b.avi in DOS/Windows?

    ANTant@zimage.com writes:

    >Windows' Command/DOS Prompt:
    >C:\>copy /b *.001 + *.002 + *.003 + *.004 + *.005 + *.006 output.avi
    >Note: /b is binary and output.avi is the output combined file.


    >How do I do the same in Linux? I cannot figure it out.


    cat *.001 *.002 *.003 *.004 *.005 *.006 > output.avi

    Which might be abbreviated to " cat *.00[1-6] > output.avi "

    Greetings, Holger

+ Reply to Thread