Skip to content

Latest commit

 

History

History
99 lines (83 loc) · 5.83 KB

vt_file.md

File metadata and controls

99 lines (83 loc) · 5.83 KB

vt file

Get information about files

Synopsis

Get information about one or more files.

This command receives one or more hashes (SHA-256, SHA-1 or MD5) and returns information about the corresponding files. The information for each file appears in the same order as the hashes are passed to the command.

If the command receives a single hypen (-) the hashes are read from the standard input, one per line.

vt file [hash]... [flags]

Examples

  vt file 8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85
  vt file 76cdb2bad9582d23c1f6f4d868218d6c
  vt file 76cdb2bad9582d23c1f6f4d868218d6c 44d88612fea8a8f36de82e1278abb02f
  cat list_of_hashes | vt file -

Options

  -x, --exclude strings    exclude fields matching the provided pattern
  -h, --help               help for file
  -I, --identifiers-only   print identifiers only
  -i, --include strings    include fields matching the provided pattern (default [**])
  -t, --threads int        number of threads working in parallel (default 5)

Options inherited from parent commands

  -k, --apikey string   API key
      --proxy string    HTTP proxy
  -v, --verbose         verbose output

SEE ALSO