Pro rekurzivní přejmenování používám následující příkazy:
find -iname \*.* | rename -v "s/ /-/g"
 Můžete použít find pro rekurzivní vyhledání všech odpovídajících souborů:
$ find . -iname "*dbg*" -exec rename _dbg.txt .txt '{}' \;
 UPRAVIT: co je '{}' a \; jsou?
 -exec argument umožňuje find spustit rename pro každý nalezený odpovídající soubor. '{}' bude nahrazeno názvem cesty k souboru. Poslední token, \; slouží pouze k označení konce výrazu exec.
Vše, co je pěkně popsáno v manuálové stránce k nalezení:
 -exec utility [argument ...] ;
         True if the program named utility returns a zero value as its
         exit status.  Optional arguments may be passed to the utility.
         The expression must be terminated by a semicolon (``;'').  If you
         invoke find from a shell you may need to quote the semicolon if
         the shell would otherwise treat it as a control operator.  If the
         string ``{}'' appears anywhere in the utility name or the argu-
         ments it is replaced by the pathname of the current file.
         Utility will be executed from the directory from which find was
         executed.  Utility and arguments are not subject to the further
         expansion of shell patterns and constructs.