https://github.com/hippietrail/dirsniff
Commandline tool to identify directory structures
https://github.com/hippietrail/dirsniff
directory-analyzer folder-structure
Last synced: 7 months ago
JSON representation
Commandline tool to identify directory structures
- Host: GitHub
- URL: https://github.com/hippietrail/dirsniff
- Owner: hippietrail
- Created: 2022-08-16T04:34:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-23T13:20:53.000Z (over 3 years ago)
- Last Synced: 2025-02-02T20:28:56.764Z (about 1 year ago)
- Topics: directory-analyzer, folder-structure
- Language: JavaScript
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dirsniff
Identify directory structures, a bit like how `file` identifies files.
`node dirsniff.js [-v] [-m=N] [-d] path1 path2 ...`
Commandline switches:
- `-v` : Verbose mode. When directory is not identified print a summary of its contents. Off by default.
- `-m=N` : Maximum mumber of times to explore deeper when directory is not identified. Defaults to `1`.
- `-d` : Explore into dot directories (hidden direcories on *nix systems). Off by default.
Identifies directory structures of various programming languages and IDEs.
Identifies directories containing mostly files of the same of similar type such as media and office files.
# Examples
* `node dirsniff ~`
Attempts to identify all directories in your home *nix home directory.
* `node dirsniff foobar`
Attempts to identify just the `foobar` directory.