Quote:
Originally posted by u02gtt
ok thanks,
can i do cat file1 file2 file3 file4 file5 ...... fle16 >> file.gzip
|
you could name it file.gzip but its not going to be zipped up though by just doing that and also it won't combine the files.. it puts each of the contents of the files as one file, one after the other..
say i had two files.. file1 and file2 with each containing the word: "this is a test file"
If I did a
cat file1 file2 > file.txt, then I opened the file to view the contents.. it would look like this:
"this is a test file"
"this is a test file"
Now if you want to compress a bunch of files and zip them up so you can unzip them with each being a separate file.. you would just want to zip them up using either tar or any other program.. etc.