cmd: untrack-dir
[contents]

Contents

Syntax

The syntax for the untrack-dir command is:

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

Description

The untrack-dir command is for untracking 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: untrack-dir and untrack-from-file are much more convenient for untracking large volumes of files than untrack.

Examples

Examples of untrack-dir being used:

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