cmd: rm-dir
[contents]

Contents

Syntax

The syntax for the rmv-dir command is:

nift rmv-dir dir (content-extension)
nsm rmv-dir dir (content-extension)

Description

The rmv-dir command is for deleting/removing all tracked files in a specified directory with the given content-extension, the default value for content-extension if one is not provided is specified in the project configuration file .nsm/nift.config).

Note: rmv-dir and rmv-from-file are much more convenient for deleting/removing large volumes of files than rmv.

Examples

Examples of rmv-dir being used:

nift rmv-dir content/docs
nsm rmv-dir content/blog/posts ".md"

Sponsors