Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

ntfsls(8)

Name

ntfsls - list directory contents on an NTFS file system

Synopsis

ntfsls [options] device

Description

The ntfsls utility lists information about the files specified by the PATH option (the root directory by default). device (see Synopsis) is the special file corresponding to the device (for example, /dev/dsk/c0d0p0num) or an NTFS image file.

Options

Supported options are listed below. Most options have both single-letter and full-name forms. Multiple single-letter options that do not take an argument can be combined. For example, –fv is the equivalent of –f –v. A full-name option can be abbreviated to a unique prefix of its name.

–a, –-all

Display all files. If this option is not specified file names in the POSIX namespace are not displayed.

–F, –-classify

Append one of the indicators shown below to entries.

* / = @ |
–f, –-force

Force execution. For example, this option is necessary to run on an NTFS partition stored in a normal file.

–h, –-help

Display usage information and exit.

–i, –-inode

Display the inode number of each file. This is the MFT reference number, in NTFS terminology.

–l, –-long

Use a long listing format.

–p, –-path path

The directory whose contents to list or the file (including the path) about which to display information.

–q, –-quiet

Suppress some debug, warning, and error messages.

–R, –-recursive

Show the contents of all directories beneath the specified directory.

–s, –-system

Unless this options is specified, all files beginning with a dollar sign character will not be listed, as these files are usually system files.

–v, –-verbose

Display more debug, warning, and error messages.

–V, –-version

Display the ntfsls version number and exit.

–x, –-dos

Display short file names, that is, files in the DOS namespace, instead of long file names, that is, files in the WIN32 namespace.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/file-system/ntfsprogs
Interface Stability
Uncommitted

See Also

, attributes(7), ntfsprogs(8), parted(8)

Authors

This version of ntfsls was written by Lode Leroy, Anton Altaparmakov, Richard Russon, Carmelo Kintana and Giang Nguyen.