Hi folks,
I've got one of those "merge files" question. What I have is literally thousands of files, each containing a text string (lets call it "XXXXXXXXXXXXXXX"; "YYYYYYY" etc). The string may be on one or more lines in the file. Each file has a different file name, and all files are contained within a single directory.
The contents of the merged file needs to have the following format (the '>' sign is important):
>FileName1
XXXXXXXXXXXXXXXXXXXXXXXXXX
>FileName2
YYYYYYYYYYY
>FileName3
AAAAAAAAAAAAAAAAAAAAAA
>FileName4
DDDDDDDDDDDDDDDDRRRRRRRRRRRRR
Any suggestions for a quick and easy merge?
Giovanni
I've got one of those "merge files" question. What I have is literally thousands of files, each containing a text string (lets call it "XXXXXXXXXXXXXXX"; "YYYYYYY" etc). The string may be on one or more lines in the file. Each file has a different file name, and all files are contained within a single directory.
The contents of the merged file needs to have the following format (the '>' sign is important):
>FileName1
XXXXXXXXXXXXXXXXXXXXXXXXXX
>FileName2
YYYYYYYYYYY
>FileName3
AAAAAAAAAAAAAAAAAAAAAA
>FileName4
DDDDDDDDDDDDDDDDRRRRRRRRRRRRR
Any suggestions for a quick and easy merge?
Giovanni