EnglishFrenchSpanish

OnWorks favicon

hxcopy - Online in the Cloud

Run hxcopy in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hxcopy that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


hxcopy - copy an HTML file and update its relative links

SYNOPSIS


hxcopy [ -i old-URL ] [ -o new-URL ] [ -s ] [ -v ] [ file-or-URL [ file-or-URL ] ]

DESCRIPTION


The hxcopy command copies its first argument to its second argument, while updating
relative links. The input is assumed to be HTML or XHTML and may be slightly reformatted
in the process.

If the second argument is omitted, hxcopy writes to standard output. In this case the
option -o is required. If the first argument is also omitted, hxcopy reads from standard
input. In this case the option -i is required.

OPTIONS


The following options are supported:

-i old-URL
For the purposes of updating relative links, act as if old-URL is the location
from which the input is copied. If this option is omitted, the actual location
of the first argument is used for calculating relative links.

-o new-URL
For the purposed of updating relative links, act as if new-URL is the location
to which the input is copied. If this option is omitted, the actual location of
the second argument is used for calculating relative links.

-s Also replace links to self. This effects the treatment of empty URLs, i.e.,
links to the document itself that do not explicitly name the document. Without
-s, implicit links to the document itself (href="/"), to a fragment of the
document itself (href="#foo") or to a query over the document itself
(href="/?query") are not changed and will thus refer to (a fragment of) the new
document. With -s, these links are rewritten to refer to (a fragment of) the old
document instead.

-v Print the version number and exit immediately.

ENVIRONMENT


To use a proxy to retrieve remote files, set the environment variables http_proxy and
ftp_proxy. E.g., http_proxy="http://localhost:8080/"

Use hxcopy online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 5
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 6
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • More »

Linux commands

Ad