Skip to content

Extracting files from a media dump

SilasLaspada edited this page Aug 15, 2021 · 5 revisions

Table of Contents

Command description

This operation will analyze and find all filesystems in a media dump and extract the files that are contained in supported filesystems.

Command usage

Aaru filesystem extract [options] <image-path> <output-dir>

Arguments

<image-path> Media image path
<output-dir> Directory where extracted files will be created. Will abort if it exists

Options

-e, --encoding=[encoding] sets which encoding is used by the contents of the media dump (default varies by filesystem)
-O, --options=[options] comma separated name=value pairs of options to pass to filesystem plugin
-x, --xattrs=[true/false] extract extended attributes if present (default false)
-n, --namespace=[namespace] namespace to use for filenames
-v, --verbose=[true/false] shows verbose output (default false)
-d, --debug=[true/false] shows debug output (default false)
--pause=[true/false] pauses before exiting. (default false)
-?, -h, --help=[true/false] show help and usage information (default false)

Example

Aaru filesystem extract -x -e iso8859-15 mydisc.cue contents

Operating system support

FreeBSD Yes
macOS Yes
Linux Yes
Windows Yes