Greetings,
i like to format a lot of text files with one call of my script (lets assume
cat is my script). I've done the following:
find * -type f | grep txt$ | xargs cat > ahugefile
The above command writes the contents of all files that end with txt into
one file called 'ahugefile'.
The problem is that i like to create a new file for each sourcefile.
How do i have to modify the above command, that each sorcefile will be piped
into a file with a different name than the
sourcefile?
I hope someone knows...
Thanks in advance for any help,
Mike.