On 1/28/07, Tom Young <[EMAIL PROTECTED]> wrote:
is there a way to use cat without listing the files i.e telling cat to concatenate all the files inside a directory ?
Sure, just use a command line wildcard. For example, if the files are in /Users/username/Desktop/files, you would use this command: cat /Users/username/Desktop/files/* If you want them to go into another file, you do the following: cat /Users/username/Desktop/files/* > /Users/username/Desktop/mycombinedfile.txt Or you could send them to BBEdit like this: cat /Users/username/Desktop/files/* | bbedit HTH. -Paul -- ------------------------------------------------------------------ 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]>
