Bernie,
Thanks, this is just what I was looking for.
I am now on my way to finishing this project.
Ted
I have about 600 small files that I am trying to turn into one big file.
There is a 'mainfolder'
Inside there are 45 'subfolders'
Inside each 'subfolder' are 10 to 20 files
I want all of them merged into a single big file.
In a previous life I think I could have done this from the command
line, but alas, it appears that I have slept to many times since then.
Not BBEdit related, but here are a couple of examples that may be
helpful. It's difficult to know without more information:
if you are in the directory 'mainfolder' and wish to control the order
in which the files are appended:
find . -type f -name "*.log" | sort | xargs cat > bigfile.txt
You may have to play with the find command (and sort) to get the files
appended in the expected order.
if the contents are to be sorted:
find . -type f -name "*.log" | xargs cat | sort > bigfile.txt
You can also replace "> bigfile.txt" with "| bbedit" to open a new
BBEdit window with the result of your commands.
--bernie
--------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
--
*** Ted Burger ***
[EMAIL PROTECTED] www.tobsupport.com 317-835-7635
-- Will do MGI coding for food --
My MGI Solutions Page = www.tobsupport.com/mgi/
MGI-Talk-List Pictures = www.tobsupport.com/mgi/talk-list.mgi
Buy a Mac and be thought a fool or buy a Windows box and remove all doubt.
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>