I have a bourne shell script which performs several tasks. One of these tasks is to move some files to certain directory. Today, when I ran the script I got the following message:
mv: will not overwrite just-created <filename> with <sameFilename>
where filename is the original file name with its full path, and sameFilename is exactly the same file and path. I regularly use this script every day and never got this message before.
Right after running the script i re-run it to see if the error persisted, and I was not able to reproduce it again. I am running this script in a Red Hat 5 Enterprise.