logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

htmlcopy -- Copy a HTML file without breaking links.

Author

       Tetsuro KURITA <tkurita@mac.com>

perl v5.40.1                                       2025-02-18                                       HTMLCOPY(1p)

Description

       htmlcopy a source HTML file into DESTINATION. If the HTML file have links to images, other HTML files,
       javascripts and cascading style sheets, htmlcopy changing link path in the HTML file to keep the link
       destination.

       When DESTINATION is omitted, the modified HTML is written in the standard output. Also it is assumed that
       output location is the current working directory.

       SOURCE and DESTINATION should be cleanuped pathes. For example, a verbose path like '/aa/bb/../cc' may
       cause converting links wrongly. This is a limitaion of the URI module's rel method. To cleanup pathes,
       Cwd::realpath is useful.

Name

       htmlcopy -- Copy a HTML file without breaking links.

Options

       -h, --help
           Print a brief help message and exits.

       -m, --man
           Prints the manual page and exits.

Synopsis

        htmlcopy [OPTION] {SOURCE | -} [DESTINATION]

See Also