One more question...I don't know what your file setup is and it may do
exactly what you want it to, but here's something to think about:
If you have these files:
miami-one
miami.one
miami.two
Your program copies over the contents of miami-one to one. Then it
deletes both miami-one and miami
At 11:23 AM 4/29/2002 -0500, you wrote:
>One thing I noticed (but shouldn't be causing your problem) was that you
>did an unlink on miami-$Name but not on miami.$Name...wasn't sure if it
>was intentional to only unlink one, or if you wanted to unlink both.
Yowza. Worked like a charm. The prob
I looked at your code, and didn't see anything wrong, so I tried your
program with my own test directories...and it worked fine for me. What
exactly seems to be the problem?
One thing I noticed (but shouldn't be causing your problem) was that you
did an unlink on miami-$Name but not on miami
Hi, all,
I am a total newbie and I have a script here that's behaving strangely. Its
purpose is to go into a directory, take the file names, search them for a
string and replace it (in this case removing a prefix from the file name) ,
write the new files to disk, delete the old ones and that's