Linux command
ntfsls 命令
文件
Copy it and replace filenames, paths, or keywords as needed.
命令示例
List directory contents
ntfsls [/dev/sda1]
List specific directory
ntfsls [/dev/sda1] -p [/Users]
Show all files including hidden
ntfsls -a [/dev/sda1]
Long listing format
ntfsls -l [/dev/sda1]
说明
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.
参数
- -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.
FAQ
What is the ntfsls command used for?
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.
How do I run a basic ntfsls example?
Run `ntfsls [/dev/sda1]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p _PATH_ do in ntfsls?
Directory path to list.