Quote:
Originally Posted by alansplace
First off, the command needs to be 'kindledrm.py' (forgot to mention this earlier).
The redirect operator needs to be a single '>', not '>>'.
When it is done the output text file only has the last of the processed file listed, so I assume that its re-writing the file on each pass of the loop instead of appending to it.
|
Yes, because you're using ">" instead of ">>"
> overwrites, >> appends.