1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 01:55:32 +02:00

importctl: new page (#16261)

Co-authored-by: Darío Hereñú <magallania@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Liam Engle 2025-05-01 17:47:00 -07:00 committed by GitHub
parent ba58dbdbbd
commit 20e965290d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

20
pages/linux/importctl.md Normal file
View file

@ -0,0 +1,20 @@
# importctl
> Download, Import, or Export disk images.
> More information: <https://manned.org/importctl>.
- Download image in tarball format from a url via pull:
`sudo importctl pull-tar {{URL}} {{path/to/directory}}`
- Pull 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://example.com/source.ext}} {{name}} --class={{machine|portable|sysext|confext}}`
- Import 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}}`
- Export a container image as tarball into current working directory:
`importctl export-tar --class={{machine|portable|sysext|confext}} {{name}} {{path/to/file.ext}}`