Linux "ntfsls" Command Line Options and Examples
list directory contents on an NTFS filesystem

ntfsls is used to list information about the files specified by the PATH option (the root directory by default). DEVICE is the special file corresponding to the device (e.g /dev/hdXX) or an NTFS image file.


Usage:

ntfsls [options] device




Command Line Options:

-a
Display all files. If this option is not specified file names in the POSIX namespace will not be dis‐played.
ntfsls -a ...
-F
Append indicator (one of */=@|) to entries.
ntfsls -F ...
-f
Force execution. For example necessary to run on an NTFS partition stored in a normal file.
ntfsls -f ...
-h
Print the usage information of ntfsls and exit.
ntfsls -h ...
-i
Print inode number of each file. This is the MFT reference number in NTFS terminology.
ntfsls -i ...
-l
Use a long listing format.
ntfsls -l ...
-p
The directory whose contents to list or the file (including the path) about which to display informa‐tion.
ntfsls -p ...
-q
Suppress some debug/warning/error messages.
ntfsls -q ...
-R
Show the contents of all directories beneath the specified directory.
ntfsls -R ...
-s
Unless this options is specified, all files beginning with a dollar sign character will not be listedas these files are usually system files.
ntfsls -s ...
-v
Display more debug/warning/error messages.
ntfsls -v ...
-V
Print the version number of ntfsls and exit.
ntfsls -V ...
-x
Display short file names, i.e. files in the DOS namespace, instead of long file names, i.e. files inthe WIN32 namespace.BUGSThere are no known problems with ntfsls. If you find a bug please send an email describing the problem to thedevelopment team:ntfs-3g-devel@lists.sf.netAUTHORSThis version of ntfsls was written by Lode Leroy, Anton Altaparmakov, Richard Russon, Carmelo Kintana and Gi‐ang Nguyen. It was ported to ntfs-3g by Erik Larsson.AVAILABILITYntfsls is part of the ntfs-3g package and is available from:http://www.tuxera.com/community/
ntfsls -x ...