I want to run a command line tool that takes a file, manipulates it and exports a new file. I can use this command just fine for a single file, but would like to make it run through an entire folder of files of a specified extension. I'd like to name the newly created file based on the old file name, but change the first few letters of the file name to something I specify. Like this:
command newfile_same oldfile_same
Thanks for your help!
*_same
where "same" is literal? – Lekensteyn Feb 21 '12 at 20:06