Skip to content

Search Files and Directories

Description

The "Search Files and Directories" function within the File Management Module is a powerful tool for locating specific files and directories based on your specified criteria. Whether you need to identify files with particular names, extensions, or other attributes, this function simplifies the process. It enables you to input a search criteria and a directory path, returning matching results to streamline your file system exploration.

Usage

  1. Open the terminal and type:
tt --files search [ARGS]
# or
tt -fm search [ARGS]

Arguments

  • --DIR (Required)

Example:

tt --fm search --DIR C:\\Users\\MyUser\\ProjectName\\MyFolder
  • --CRITERIA (Required)

Example:

tt --fm search --DIR C:\\Users\\MyUser\\ProjectName\\MyFolder --CRITERIA *.py

(Please make sure the criteria you provided is following the correct types: file name (filename), extension (*.py), or content (this is the content from myfile.txt)')