Rejoining an 128 part avi file

Asked by nicenick

Ubuntu, 6.06 LTS, Dapper, I686

I have downloaded an AVI file that was split into 128 parts.
SomeName.avi.001
Somename.avi.002
>>>>>>
SomeName.avi-128

Can i join these files without having to enter all 128 names into a script file? It seems that NO WAY will I not make a typo along the way.

Is there a short cut similar to SomeName.avi.001>SomeName.avi.128?????

In M$ land I just used a program called 'Simple File Joiner' but can not find similar in repositiries.

Thanks in advance

Nice Nick

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Thomas Butter
Solved:
Last query:
Last reply:
Revision history for this message
Best Thomas Butter (tbutter) said :
#1

Hi,

i think

cat SomeName.avi.* >SomeName.avi

should work. The "SomeName.avi.*" is expanded to all names starting with "SomeName.avi.". The cat command then gets the contents of all of them and it is saved then in SomeName.avi.

Revision history for this message
nicenick (dahudie720-coa) said :
#2

Thanks so much. It worked fine.
My only difficulity was I had to manully use -ls and -cd until the terminal reached the directory where ithe 128 files were located.
Perhaps this is normal for ubuntu/Linux. I am an OLD DOS guy and I was used to adding the entire path to the 'cat' fucntion.

Thansk so much for the help.

Nick Nick

Revision history for this message
Cnote (computergraphics) said :
#3

Yep, thanks for that. I've been searching for hours for a prog to do it for me. (ex-windows user).

Thanks