--no-clobber still overwrites file if --html-extension used in wget?

oluja

New Member
I have a script for downloading all of my Chrome Bookmarks. I use wget with the --html-extension because some of the bookmarks end in .php and can't be opened by a web browser unless --html-extension option is used. The problem I am having is that when I use --html-extension with --no-clobber, It doesn't recognize that most of the files are already there for some reason, so it goes through the whole process of redownloading stuff it already has. An example: wget -nc http://www.test.com/run once will save the file like it is supposed to. if you run it again then it will say the file already there so not retrieving. that is the operation i would expect. however, delete the file that was just saved and run: wget -nc http://www.test.com/ --html-extensionand then run that same command again. it overwrites the file instead of saying file already there. What is going on?
 
Back
Top