LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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 the contents of directories on NTFS partitions without mounting the filesystem. It reads the NTFS structures directly from the block device, providing an ls-like interface for examining NTFS volumes.

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)

Copied to clipboard
Kai