boxturt Posted May 29, 2003 Posted May 29, 2003 I downloaded a full backup just now. There are about 16,000 files I am going to alter slightly. These are all regular html pages. If I zip them up again and upload the one zip file to the right folder will I be able to unzip that file and overwrite the 16,000 original files?? Or will this really mess things up? ty Quote
surefire Posted May 29, 2003 Posted May 29, 2003 There are about 16,000 files I am going to alter slightly. 16k files... holy @#$% If there was ever an example of why someone might want to use PHP, SSI or ASP to make site-wide alterations by just changing two files instead of uploading a whole site... this is it. But you didn't ask about that... Unfortunately, I don't know if you can unzip files after they've been uploaded. I haven't been able to make that work in the past. I had to remark on this post just out of amazement at the number of files. Quote
TCH-Rob Posted May 29, 2003 Posted May 29, 2003 I was able to unzip my shopping cart using the extract feature in CPanel and it worked fine. I do not know if it will overwrite the files though. I say as long as you dont get your shell stuk, zip it up. Quote
boxturt Posted May 29, 2003 Author Posted May 29, 2003 yea, 16k worth. Actually doing it (hoping to do it) so that I CAN include the one line for SSI. However I ran into a problem on a test run: File Type: Zip archive data, at least v2.0 to extract Archive: x.zip inflating: xanadu.html replace bg1.jpg? [y]es, [n]o, [A]ll, [N]one, [r]ename: error: invalid response [ ] replace xanadu.html? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL (assuming [N]one) Now what the heck does that mean? Aside from it didn't work. Should I not be using WinZip 8.0? I can of course just ftp 16k worth Quote
TCH-JimE Posted May 29, 2003 Posted May 29, 2003 Hi, Its going to ask you each time what you want to do, in your case, rewrite the file, but you will have to press Y each time. I would FTP files for speed and the preservation of my Y key Jim Quote
boxturt Posted May 30, 2003 Author Posted May 30, 2003 Hiya Jim, On the couple of tests I ran it did not prompt me for anything, just delivered the same error as I posted above. And yes, I FTP'd all 16,000 of them back up the hill and all the stuff I added to the pages works just fine - mostly SSI stuff. BTW - I was able to insert the extra lines with a few lines of perl and a .bat file I wrote. If anyone would like a look just let me know. I was able to add the lines to all 16k of files in about 20 minutes. Thanks for all your responses to yet another bizarre boxturt query! ty Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.