I am also having trouble installing a bash script. I dont use much Linux, and I don't get into the shell much, so please help me out.
I'm trying to setup a script called Hardfeed (that will let me recursively FTP files from another server). http://www.unix.com/showthread.php?s=&threadid=9174
Ive copied the 2 sections into a text editor, saved it as hardfeed, FTP'd it up , and chmod +x hardfeed
then in the shell I try (of course I've edited server name, etc.):
$ ./hardfeed -rds xxxl.theservername.com user the.directory
: bad interpreter: No such file or directory
The bad interpreter error has me thinking the first line is the problem:
So what is the right location? (the thread creator had #! /bin/bash .. I tried that to no avail) Or am I on the wrong path to solving this.
Thanks in advance for any help.