forfiles – run commands for each file in a location

forfiles allows command line users to run commands for each file in a location. Some of the tasks that the forfiles command can be used to do are deleting old files and renaming files. It a native command in Vista or newer. For WinXP you can find it in the Recource Kit.

Example:

pfSense ipfw rules

Lists zones:

Show rules (Zone ID 2 for example):

Show all tables

Show authenticated/allowed clients (in)

Show authenticated/allowed clients (out)

pfSense 2.2.5 CaptivePortal Patch

Patch for pfSense 2.2.5 to redirect proxy users to the authentification portal.

Diff created with WinMerge.