FindNearFiles

FindNearFiles

Search for files that were created within a short amount of time of each other

Usage

Usage: > FindNearFiles.py  [/?] | [/r] [/tSEC] [path]

  /?    - help - this screen
  /r    - recursive search               (default: non-recursive)
  /tSEC - time between file timestamps   (default: 5 seconds)
  path  - path to search                 (default: current directory)
          use ** to include subdirectories

e.g.: > FindNearFiles.py /r /t60 ..\Pictures\**\*.png
  -> search in "..\Pictures" and all of its subdirectories for
     PNG files that were created within a minute of each other

Download

FindNearFiles.7z

Description

This program makes it easy to find files that were created shortly after one another. This makes it easier to sort through a pile of screenshots or downloaded files to weed out extraneous files.

KillByArgs

KillByArgs kills a process that contains specific command-line arguments.

> KillByArgs PROCESSNAME ARG(s) [/ALL]

	PROCESSNAME	- name (or part of a name) of target process
	ARG(s)		- string to look for in the process' arguments
	/ALL		- kill all matches, or else just first match found

	RETURNS number of processes matched
	(processes may not be killed depending on permissions)

	eg: Kills only notepad that has foobar.txt open:
	    > KillByArgs   notepad foobar.txt

	eg: Kills all instances of explorer that were run as embedded:
	    > KillByArgs   explorer -embedding /all

NOTE: Be as specific as possible to avoid killing unintended processes!

Changelog:
Show ▼