LinuxCommandLibrary

ntfsls

lists files on NTFS partitions

TLDR

List directory contents
$ ntfsls [/dev/sda1]
copy
List specific directory
$ ntfsls [/dev/sda1] -p [/Users]
copy
Show all files including hidden
$ ntfsls -a [/dev/sda1]
copy
Long listing format
$ ntfsls -l [/dev/sda1]
copy

SYNOPSIS

ntfsls [options] device [path]

DESCRIPTION

ntfsls lists files on NTFS partitions. Works without mounting.
The tool provides directory listings directly. Similar to ls command.

PARAMETERS

DEVICE

NTFS partition device.
-p PATH
Directory path to list.
-a, --all
Show hidden files.
-l, --long
Long listing format.
-F, --classify
Append file type indicator.
--help
Display help information.

CAVEATS

Part of ntfs-3g. Read-only operation. Device must be NTFS formatted.

HISTORY

ntfsls was created as part of ntfs-3g tools for NTFS filesystem inspection.

SEE ALSO

ntfs-3g(1), ls(1), ntfscat(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard