Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
concatenate files with identifier
Name: Yoon Date: November 16, 2008 at 14:34:10 Pacific OS: window CPU/Ram: 2gb Product: dell
Comment:
Hi all
I concatenate files using cat. Each file contains only one csv data. for example,
file1 100
file2 200
cat file1 file2 > newfile
newfile 100 200
However, is there any way to insert identifier when using cat command?
Summary: Greeting. I need to concatenate all the files with similar File names. For Example, I have 5 files, 1_100 2_100 3_200 4_200 5_300 Now I need to have 3 files by names, 100 : cat (1_100, 2_100) 200 : ca...
Summary: What's wrong with: *.<suffix> For example, if you have files with the name: junk.txt junk1.txt junk.doc junk1.doc You'd type rm *.txt to get rid of the .txt files. ...
Summary: I'm interpreting that you want to find all the files with two spaces in the name and rename them to one? There's no need to escape the spaces, and you need to make sure ls returns only one file name a...