Joining files with Cat on Linux

I have a movie cut with hjspit.

-rw-r--r-- 1 root root 110100480 Apr 17 10:42 MSFT_1.avi.001
-rw-r--r-- 1 root root 110100480 Apr 17 10:45 MSFT_1.avi.002
-rw-r--r-- 1 root root 110100480 Apr 17 10:45 MSFT_1.avi.003
-rw-r--r-- 1 root root 110100480 Apr 17 10:47 MSFT_1.avi.004
-rw-r--r-- 1 root root 110100480 Apr 17 10:47 MSFT_1.avi.005
-rw-r--r-- 1 root root 110100480 Apr 17 10:49 MSFT_1.avi.006
-rw-r--r-- 1 root root 110100480 Apr 17 10:49 MSFT_1.avi.007
-rw-r--r-- 1 root root 110100480 Apr 17 10:51 MSFT_1.avi.008
-rw-r--r-- 1 root root  62759034 Apr 17 10:51 MSFT_1.avi.009

To join them on Linux, run

cat MSFT_1.avi.00? > MSFT_1.avi

Back to cat

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *