Author Topic: Q: How do I scan an entire drive / directory tree?  (Read 49753 times)

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Q: How do I scan an entire drive / directory tree?
« on: April 10, 2015, 02:32:03 AM »
Starting from v2.20, TrID accept a file list via stdin. That mean that the output of some other command may be used and passed to TrID.
For example, to scan the entire \recovered folder, including all its subdirectories, and correct the files extensions, one can run:

Code: [Select]

dir \recovered /s /b | trid -ce -@


Or, if a list of files to analyze is already available, it can be passed to TrID like:

Code: [Select]

type myfilelist.txt | trid -ce -@