On Monday 06 June 2005 17:41, Andrew H Bell wrote:
However, when I check, the file is there but is listed in lower-case (i.e., "cor-001"). I cannot rename the file to upper-case - the file already exists...
You might try renaming the files to upper case in this manner:
(In a Windows command prompt)
C:> cd <data\directory> C:\data\directory> move T1 TT1 C:\data\directory> mkdir T1 C:\data\directory> copy TT1\cor* T1\COR*
and you should be all set. Repeat for other directories.
In Linux, you might do the following (*):
~> cd /data/directory /data/directory> mv T1 TT1 /data/directory> mkdir T1 /data/directory> cd TT1 /data/directory> /bin/ls -1 COR* | awk -F- '{printf("cp cor-%s ../T1/COR-%s\n", $2, $2)}' | sh -v
(The above command should all be on one line).
--R
(*) Note that there are probably many different ways to do this in Linux.