Lz4cat / Create Squashfs From Lz4 Tar Excluding Regex Files
Create Squashfs From Lz4 Tar Excluding Regex Files
Lz4cat command syntax to create squashfs from lz4 tar excluding regex files. Copyable examples, output expectations, and common mistakes.
$
Terminal lz4cat <archive.tar.lz4> | sqfstar <filesystem.squashfs> -regex "<regex>" lz4cat <archive.tar.lz4> | sqfstar <filesystem.squashfs> -regex "<regex>" #!/bin/bash
# Create Squashfs From Lz4 Tar Excluding Regex Files
lz4cat {{archive.tar.lz4}} | sqfstar {{filesystem.squashfs}} -regex "{{regex}}" Command Breakdown
What each part is doing
-
lz4cat - Base Command
- The executable that performs this operation. Here it runs Lz4cat before the shell applies any redirect operators.
-
<archive.tar.lz4> - archive.tar.lz4
- The value supplied for archive.tar.lz4.
-
<filesystem.squashfs> - Input Files
- The file path or paths supplied to this command.
-
<regex> - regex
- The value supplied for regex.
-
-regex - Command Option
- Tool-specific option used by this command invocation.
Alternative Approaches
Comparable commands in other tools
Alternative tools that share the "compress" operation intent.