mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
Merge 53cc8302eb
into ae71920c10
This commit is contained in:
commit
3059fd1bda
1 changed files with 20 additions and 0 deletions
20
pages/linux/importctl.md
Normal file
20
pages/linux/importctl.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# importctl
|
||||
|
||||
> Download, Import, or Export disk images.
|
||||
> For More Information: <https://man7.org/linux/man-pages/man1/importctl.1.html>.
|
||||
|
||||
- [d]ownload image in tarball format from a url via pull:
|
||||
|
||||
`sudo importctl pull-tar {URL} {path/to/directory}`
|
||||
|
||||
- [p]ull or download from a remote source that is either raw or qcow2 file, and stores it as a raw file:
|
||||
|
||||
`sudo importctl pull-raw {{https:\\url\to\source.ext}} {{name}} --class={{[machine|portable|sysext|confext]}}`
|
||||
|
||||
- [i]mport a raw disk image into the image directory that is possibly compressed with xz, gzip, or bzip2:
|
||||
|
||||
`importctl import-raw {{path/to/file.ext}} {{name}} --class={{[machine|portable|sysext|confext]}}`
|
||||
|
||||
- [e]xport a container image as tarball into current working directory:
|
||||
|
||||
`importctl export-tar --class={{[machine|portable|sysext|confext]}} {{name}} {{path/to/file.ext}}`
|
Loading…
Add table
Reference in a new issue