lad (List All Data)
lad is a command line script to list directories and files including Alternate Data Streams by using the getfattr command. The interface is inspired by the ls command.
Installation
Install the package with pip
pip install lad-cli
Usage
Type lad --help to view the help.
usage: lad [OPTION]... [FILE]...
Lists information about the FILEs (the current directory by default) including Alternate Data Streams.
optional arguments:
-h, --human-readable print sizes like 1K 234M 2G etc.
--help prints the help text
-R, --recursive list subdirectories recursively
--full-time Shows the complete timestamp
-n, --numeric-uid-gid
list numeric user and group IDs
-F Show only files which include Alternate Data Streams
--no-warning Suppress warnings (e.g. if the filesystem is not NTFS)
Examples
Example 1
$ lad /mnt/usb
drwxrwxrwx root root 0 15. May 2020 21:30 ABC
drwxrwxrwx root root 0 15. May 2020 19:59 System Volume Information
-rwxrwxrwx root root 10 16. May 2020 14:51 test.txt
-rwxrwxrwx root root 22 16. May 2020 14:51 test.txt:secret
Example 2
Scan recursively all subdirectories using the -R option flag.
$ lad /mnt/usb -R
drwxrwxrwx root root 0 15. May 2020 21:30 ABC
-rwxrwxrwx root root 7 15. May 2020 21:30 ABC/hello
-rwxrwxrwx root root 7 15. May 2020 21:30 ABC/hello:secret2
drwxrwxrwx root root 0 15. May 2020 19:59 System Volume Information
-rwxrwxrwx root root 76 15. May 2020 19:59 System Volume Information/IndexerVolumeGuid
-rwxrwxrwx root root 12 15. May 2020 19:59 System Volume Information/WPSettings.dat
-rwxrwxrwx root root 10 16. May 2020 14:51 test.txt
-rwxrwxrwx root root 22 16. May 2020 14:51 test.txt:secret
Example 2
Show only files which contain an Alternate Data Stream using the -F option flag:
$ lad /mnt/usb -RF
-rwxrwxrwx root root 7 15. May 2020 21:30 ABC/hello
-rwxrwxrwx root root 7 15. May 2020 21:30 ABC/hello:secret2
-rwxrwxrwx root root 10 16. May 2020 14:51 test.txt
-rwxrwxrwx root root 22 16. May 2020 14:51 test.txt:secret
Metadata
Release files for lad-cli 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lad-cli-1.0.2.tar.gz | 5.9 kB | Without provenance | Details for lad-cli-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lad_cli-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for lad_cli-1.0.2-py3-none-any.whl |
Total release size: 13.3 kB
Release files / lad-cli-1.0.2.tar.gz
| Download URL | lad-cli-1.0.2.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ddf88999e1db2c10f9d002b856fac77dfb8ba44e8bb6629699ddf145a6e170c
|
|
BLAKE2b-256 checksum How to use checksums |
9b56cadee55216d5010c6d142fdb0816bb0142124b32073e0b56bd6130bec320
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Release files / lad_cli-1.0.2-py3-none-any.whl
| Download URL | lad_cli-1.0.2-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d42aa478f464398c4b74aba22611a108e6841ecfc45f565139bbda42d371220e
|
|
BLAKE2b-256 checksum How to use checksums |
2b3cc99b798d4a473e2cea6e2b6b88de6c4cca3a0cb6ef75ede1a425f71cb5ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|
Security for lad-cli 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.