Stunner Posted January 27, 2010 Report Share Posted January 27, 2010 Ey guys, I have a python script that merges a bunch of files together via the "python fileMerge.py <merged filename> <file(s)>" command in terminal/command-line. I would like to specify all files that have a a file extension of "log". I could do this in terminal with "python fileMerge mergedLog.txt *.log" but when I try doing that in Windows I get a complaint saying that "*.log" is not a file. If anyone could help me with this that would be great. If it were only a handful of files I wanted to specify I would have no problem just typing them out but there are a good 50 or so files I want to merge so that's why this is kind of essential to me. Thanks! Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted January 28, 2010 Report Share Posted January 28, 2010 Did you get this script from somewhere, or did you write it yourself? Quote Link to comment Share on other sites More sharing options...
Stunner Posted January 28, 2010 Author Report Share Posted January 28, 2010 Did you get this script from somewhere, or did you write it yourself?I wrote it myself and it works fine in terminal on Ubuntu and Mac OS X. Would you like me to post up the script(it's rather short...)? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.