LoginSignup
0
0

More than 3 years have passed since last update.

Finding words in scripts over folders

Posted at

Issue

You have a lot of scripts in a folder (or folders), and you want to find the ones containing specific words.

Here is an example.
I have a lot of python scripts, and I want to find the ones uses a specific functions, say "ImageDataGenerator".
Screen Shot 2019-04-25 at 5.41.41 PM.png

Solution

C:\Windows\system32>d:
D:\>findstr "ImageDataGenerator" *.py

You can change the drive by simply input d:.
Use findstr "<TARGET STRING>" <PATH NAME> to find the scripts containing TARGET STRING.

That's it.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0