Subj : no subject? To : Barry Blackford From : Thomas W. Mueller Date : Wed Oct 10 2001 01:04 pm Hello Barry. 10 Oct 01 14:04, you wrote to me: BB>>> cp index.html index.rotate BB>>> cp index1.html index.html BB>>> cp index2.html index1.html BB>>> cp index3.html index2.html BB>>> cp index.rotate index3.html TM>> This looks allright to me. Have you maybe forgotten to add a TM>> #!/bin/sh at the top? BB> it returns: BB> ./htmlrename BB> ) is not a directory files, but last argument ( BB> Try `cp --help' for more information BB> The really strange thing is that I can manually run each line of that BB> script manually (with no problems). I also tried #!/bin/bash with the BB> same results as above. Another common problem are DOS style cr/lf line ends rather than Unix style lf. Did you maybe create the script with a DOS/Windows based editor? Thomas --- GoldED+/LNX 1.1.4.7 * Origin: (2:2454/917) .