Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
NAME
tix-iso-add — add directory to .iso filesystemSYNOPSIS
tix-iso-add | [-o output-file] input-file input-directory |
DESCRIPTION
tix-iso-add adds the contents of the input-directory directory to the .iso filesystem at input-file, while keeping the .iso bootable after the modification.- -o output-file, --output output-file
- Write the modified input-file to output-file instead of modifying input-file in place. This path must not be the same as the input-file.
xorriso \ -indev "$input_file" \ -outdev "$output_file" \ -boot_image grub keep \ -pathspecs on \ -add \ ="$input_directory"
EXIT STATUS
tix-iso-add will exit 0 on success and non-zero otherwise. On error, the input file is left alone.EXAMPLES
To add some files and directories to an .iso filesystem, one can run:mkdir directory mkdir directory/foo mkdir directory/foo/bar echo qux > directory/foo/bar/qux echo spam > directory/foo/bar/spam tix-iso-add sortix.iso directory
tix-iso-add -o sortix-modified.iso sortix.iso directory