
forfiles
List of commands for forfiles:
-
forfiles:tldr:1af64 forfiles: Search for files in the current directory.$ forfilestry on your machineexplain this command
-
forfiles:tldr:1e070 forfiles: Run the specified command for each file.$ forfiles /c "${command}"try on your machineexplain this command
-
forfiles:tldr:991b2 forfiles: Search for files recursively.$ forfiles /stry on your machineexplain this command
-
forfiles:tldr:9b1a1 forfiles: Search for files older than 5 days.$ forfiles /d +${5}try on your machineexplain this command
-
forfiles:tldr:b7bb6 forfiles: Search for files in a specific directory.$ forfiles /p ${path\to\directory}try on your machineexplain this command
-
forfiles:tldr:bb01e forfiles: Search for files using a specific glob mask.$ forfiles /m ${glob_pattern}try on your machineexplain this command