S
Starsky
I have a script which contains a FOR loop to process a list of filenames in
a files called files.txt. As each of the filenames is processed, I would
like to delete the topmost line in files.txt. This would be the line which
contains the name of the file which was just processed. I have a huge list
of files to process. If I can delete the first line of the text file at the
end of each pass, it would save me from having to worry about which files
were already processed and avoid the risk of processing the same files
again. Anyone have any ideas on how to do this?
a files called files.txt. As each of the filenames is processed, I would
like to delete the topmost line in files.txt. This would be the line which
contains the name of the file which was just processed. I have a huge list
of files to process. If I can delete the first line of the text file at the
end of each pass, it would save me from having to worry about which files
were already processed and avoid the risk of processing the same files
again. Anyone have any ideas on how to do this?