Mar 29, 2007 #1 hokky Technical User Nov 9, 2006 170 AU Hi guys, quick question about merging I have split my data into 1KB/piece and I want to merge it back as original. How do I do that ? Here's the command I merge Code: split -b1000 data.tar.gz -a3 data.tar.gz Thanks guys
Hi guys, quick question about merging I have split my data into 1KB/piece and I want to merge it back as original. How do I do that ? Here's the command I merge Code: split -b1000 data.tar.gz -a3 data.tar.gz Thanks guys
Mar 29, 2007 #2 sbrews Technical User Jun 11, 2003 413 US have never used split myself, but I would bet you could: merge <options> new_file old_file1 old_file2 or something very similar. Upvote 0 Downvote
have never used split myself, but I would bet you could: merge <options> new_file old_file1 old_file2 or something very similar.
Mar 30, 2007 #3 feherke Programmer Aug 5, 2002 9,541 RO Hi Is called concatenating and can be done with the [tt]cat[/tt] command : Code: cat old_file1 old_file2 > new_file [gray]# or[/gray] cat old_file* > new_file Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Hi Is called concatenating and can be done with the [tt]cat[/tt] command : Code: cat old_file1 old_file2 > new_file [gray]# or[/gray] cat old_file* > new_file Feherke. http://rootshell.be/~feherke/
Mar 30, 2007 #4 sbrews Technical User Jun 11, 2003 413 US Doh! :~/ didnt even think about "cat". There is (at least according to google) a merge command. ... you can do this too: Code: cat old_file1 >> old_file2 downside to the above - you no longer have the "original" old_file2. Upvote 0 Downvote
Doh! :~/ didnt even think about "cat". There is (at least according to google) a merge command. ... you can do this too: Code: cat old_file1 >> old_file2 downside to the above - you no longer have the "original" old_file2.
Mar 30, 2007 #5 sbrews Technical User Jun 11, 2003 413 US Never post before coffee... above should be Code: cat old_file2 >> old_file1 otherwise files are appended in the wrong order (unless of course you really want that. :-> ) Upvote 0 Downvote
Never post before coffee... above should be Code: cat old_file2 >> old_file1 otherwise files are appended in the wrong order (unless of course you really want that. :-> )