Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
looks like the command you are using to replace the files is asking for confirmation before it will overwrite, but since it is a script i.e. not interactive, there is no-one to give any answer (y, n, A, N, or r), so it defaults to not overwriting. what command are you using to replace the files? there might be a switch/parameter that will force overwriting without asking for confirmation, which should fix that problem.
EDIT: hey cool, I'm not a newbie anymore - im a member!
Last edited by Ynot Irucrem; 05-24-2005 at 09:11 AM.
Originally posted by Ynot Irucrem I know a *little* php, but from the looks of that code, you obviously know much more.
Doesn't know too much more if he didn't know how to use a simple -f (force) option with the rm command.. Sorry, no pun intended, just consider yourself above him when it comes to shells rather than PHP..