Article 58TR6 following detox, fix html file references to renamed directory

following detox, fix html file references to renamed directory

by
tech-support
from LinuxQuestions.org on (#58TR6)
I am working on a shell program to fix filenames of directories which were created when downloading html files.

the filenames would have been downloaded with special characters and whitespace, like "The File (``Name``)?.html" for example.

After running detox, the html filename and the directory name are cleaned up,
but the the html file still references the old name.

running sed on the html file to find the new directory name doesn't seem to work.

Has anyone seen a program which already does this?

thanks in advancelatest?d=yIl2AUoC8zA latest?i=4t1pNoCJ4oI:CkIemVKxltc:F7zBnMy latest?i=4t1pNoCJ4oI:CkIemVKxltc:V_sGLiP latest?d=qj6IDK7rITs latest?i=4t1pNoCJ4oI:CkIemVKxltc:gIN9vFw4t1pNoCJ4oI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments