Subj : no subject? To : Thomas W. Mueller From : Barry Blackford Date : Wed Oct 10 2001 07:04 am Hello there Thomas! 09 Oct 01 at 23:45, Thomas W. Mueller writes to Barry Blackford: BB>> I want it to do something like this but can't seem to make it BB>> function: 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? Thanks for looking, yes, it returns: ./htmlrename ) is not a directory files, but last argument ( Try `cp --help' for more information The really strange thing is that I can manually run each line of that script manually (with no problems). I also tried #!/bin/bash with the same results as above. Best Rgds, Bazz barry@glonet.co.nz --- * Origin: Global NetWork ARGUS IP Mailer & FTP Fidonet New Zealand (3:774/605) .