diff --git a/pages.pl/linux/sqfstar.md b/pages.pl/linux/sqfstar.md new file mode 100644 index 0000000000..e5631fd392 --- /dev/null +++ b/pages.pl/linux/sqfstar.md @@ -0,0 +1,24 @@ +# sqfstar + +> Utwórz system plików squashfs z archiwum tar. +> Więcej informacji: . + +- Utwórz system plików squashfs (domyślnie kompresując za pomocą `gzip`) z nieskompresowanego archiwum tar: + +`sqfstar {{system_plików.squashfs}} < {{archiwum.tar}}` + +- Utwórz system plików squashfs z archiwum tar skompresowanego za pomocą `gzip`, i skompresuj system plików używając podanego algorytmu: + +`zcat {{archiwum.tar.gz}} | sqfstar -comp {{gzip|lzo|lz4|xz|zstd|lzma}} {{system_plików.squashfs}}` + +- Utwórz system plików squashfs z archiwum tar skompresowanego za pomocą `xz`, pomijając niektóre pliki: + +`xzcat {{archiwum.tar.xz}} | sqfstar {{system_plików.squashfs}} {{plik1 plik2 ...}}` + +- Utwórz system plików squashfs z archiwum tar skompresowanego za pomocą `zstd`, pomijając pliki kończące się na `.gz`: + +`zstdcat {{archiwum.tar.zst}} | sqfstar {{system_plików.squashfs}} "{{*.gz}}"` + +- Utwórz system plików squashfs z archiwum tar skompresowanego za pomocą `lz4`, pomijając pliki pasujące do wyrażenia regularnego: + +`lz4cat {{archiwum.tar.lz4}} | sqfstar {{system_plików.squashfs}} -regex "{{wyrażenie_regularne}}"` diff --git a/pages/linux/sqfstar.md b/pages/linux/sqfstar.md new file mode 100644 index 0000000000..a8c304d196 --- /dev/null +++ b/pages/linux/sqfstar.md @@ -0,0 +1,24 @@ +# sqfstar + +> Create a squashfs filesystem from a tar archive. +> More information: . + +- Create a squashfs filesystem (compressed using `gzip` by default) from an uncompressed tar archive: + +`sqfstar {{filesystem.squashfs}} < {{archive.tar}}` + +- Create a squashfs filesystem from a tar archive compressed with `gzip`, and [comp]ress the filesystem using a specific algorithm: + +`zcat {{archive.tar.gz}} | sqfstar -comp {{gzip|lzo|lz4|xz|zstd|lzma}} {{filesystem.squashfs}}` + +- Create a squashfs filesystem from a tar archive compressed with `xz`, excluding some of the files: + +`xzcat {{archive.tar.xz}} | sqfstar {{filesystem.squashfs}} {{file1 file2 ...}}` + +- Create a squashfs filesystem from a tar archive compressed with `zstd`, excluding files ending with `.gz`: + +`zstdcat {{archive.tar.zst}} | sqfstar {{filesystem.squashfs}} "{{*.gz}}"` + +- Create a squashfs filesystem from a tar archive compressed with `lz4`, excluding files matching a regular expression: + +`lz4cat {{archive.tar.lz4}} | sqfstar {{filesystem.squashfs}} -regex "{{regular_expression}}"`