Forrest logo
back to the find tool

find:ai:9afa9

delete all files ending with '.nfo' in a specific directory
$ find ${directory} -type f -name '*.nfo' -delete
try on your machine

This command uses the 'find' utility to locate and delete all files ending with '.nfo' in the specified directory.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • delete all files ending with '.nfo' in a specific directory?
back to the find tool