recursive option

A command option, usually -r or -R, that makes the command act on a directory and everything inside it, all the way down.

In more detail

cp -R copies a whole tree, rm -r deletes one, grep -r searches one and chmod -R changes one. Without it most commands treat a directory as a single entry or refuse it.

Related terms

Taught in

References