---
name: "mirrortool"
section: "1"
platform: "linux"
package: "omt"
version: "0.1.16"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mirrortool"
---

# mirrortool(1)

OpaL Mirror Tool (OMT)

## NAME

mirrortool.pl  -  OpaL Mirror Tool (OMT)

## DESCRIPTION

Creates a mirror of a webpage. It has a number of features such as link rewriting and more. (See the options below).

## USAGE

mirrortool.pl \[options\] \[url\] \[options\] \[url\] \[...\]

## OPTIONS

```
   --images             : Include <img src=xxx>:s in the download. (default)
   --noimages           : Do not include <img src=xxx>:s in the download.
   --depth n            : Maximum recursion depth. (default 1)
   --store "regexp"     : Files matching regexp are actually stored locally.
                        : It is possible to | separate (with or).
   --rewrite "from=>to" : Urls are rewritten using this rules.
                        : It is possible to | separate (with or).
                        : Do not rewrite the dir, because that it will affect
                        : later lookup. Have to fix this sometime.
   --what "regexp"      : Files matching regexp are downloaded and traversed.
                        : It is possible to | separate (with or).
   --dir basedir        : Where to store local files.
   --nohostcheck        : Do not check if url points to other host.
   --notreecheck        : Do not check if url points to other dirtree.
   --force              : Overwrite all files.
   --debug              : Print debug-messages.
   --retry n            : Number of times an url will be retried (default 1)
   --auth user:pass     : use Basic Authentication
   --proxy url          : Use a proxy server (like http://u:p@localhost/).
   --help               : Print this text.
```

## AUTHOR

Ola Lundqvist \<opal@lysator.liu.se\>

## SEE ALSO

*mirrortool.pl*(1)
