exiftool

File write

This executable can write data to local files.
  1. CommentIf the permissions allow it, files are moved (instead of copied) to the destination.
    This function can be performed by any unprivileged user.
    exiftool -filename=/path/to/output-file /path/to/input-file
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    exiftool -filename=/path/to/output-file /path/to/input-file
  2. CommentThe output file must exists, either empty or be a supported image file. The content is written amidst other content.
    This function can be performed by any unprivileged user.
    exiftool "-description<=/path/to/input-file --filename /path/to/output-file
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    exiftool "-description<=/path/to/input-file --filename /path/to/output-file
    RemarksThe content is corrupted or otherwise altered by the process, thus it might not be suitable for handling arbitrary binary data.
  3. CommentThe output file must exists, either empty or be a supported image file. The content is written amidst other content.
    This function can be performed by any unprivileged user.
    exiftool "-description=DATA --filename /path/to/output-file
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    exiftool "-description=DATA --filename /path/to/output-file
    RemarksThe content is corrupted or otherwise altered by the process, thus it might not be suitable for handling arbitrary binary data.
  4. CommentWrites the metadata tags of the input file in textual format to the output.
    This function can be performed by any unprivileged user.
    exiftool -description -W /path/to/output-file --filename /path/to/input-file
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    exiftool -description -W /path/to/output-file --filename /path/to/input-file
    RemarksThe content is corrupted or otherwise altered by the process, thus it might not be suitable for handling arbitrary binary data.

File read

This executable can read data from local files.
  1. CommentIf the permissions allow it, files are moved (instead of copied) to the destination.
    This function can be performed by any unprivileged user.
    exiftool -filename=/path/to/output-file /path/to/input-file
    cat /path/to/output-file
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    exiftool -filename=/path/to/output-file /path/to/input-file
    cat /path/to/output-file

Inherit

This executable can inherit functions from another.
  1. CommentThis allows to run Perl code (...).
    This function can be performed by any unprivileged user.
    exiftool -if '...' /etc/passwd
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    exiftool -if '...' /etc/passwd
    Functions

    Inherits from perl, thus possibly granting its functions.