Comments (3)
That is a bug. I'll work on getting that fixed ASAP. As for your questions:
- Globbing for different file-types in one query isn't supported, but I'll work on getting that supported for the next release.
- Could you provide an example for this use-case? I don't see how this would work given that
erd
expects only a single positional argument which is the directory to traverse, but perhaps it'll make sense once I see what you're trying to accomplish.
from erdtree.
Could you provide an example for this use-case? I don't see how this would work given that erd expects only a single positional argument which is the directory to traverse, but perhaps it'll make sense once I see what you're trying to accomplish.
With log files or static assets or in just a lot of cases, it happen that I have a couple hundred files in a directory. With ls
I would do ls *-2023-08-*
to list out all log files in august. I can do this with erd
as well but it requires quoting. erd --glob --pattern '*-2023-08-*'
. Even without the globs, sometimes I want to check whether a file just exists or not so running ls
with the filename is what I do. Doing the same with erd
fails with either can't compute root node
or too many arguments
.
It's not a huge problem to be honest, but old habits die hard.
from erdtree.
ahhh okay that makes sense. Ignore what I said earlier about it not being possible, I didn't correctly envision what you were asking for. It should definitely be possible. I'll add that into my list of todos to include in the next release.
from erdtree.
Related Issues (20)
- Windows: '--config' was specified but a `.erdtree.toml` file could not be found HOT 1
- `erd -p doesnotexist` often prints a blank line instead of a diagnostic HOT 1
- error when running V3.1.2 HOT 2
- erdtree v3.1.2 macOS panic: possibly due to dirs with large-number files + less(1) piping? HOT 1
- 'erd -y iflat --sort size --dirs-only' does not sort as expected; also: should the order of the params matter? HOT 4
- Intermittent crashing using --long option HOT 4
- `erd -s rmod` and `erd -s mod` definitions are reversed
- Donation for erdtree HOT 2
- Display contents of multiple directories in one command: desired? HOT 1
- Support -F style trailing characters HOT 3
- Feature request: Include files that are in a .gitignore, but have been force-added to the repository anyway
- Provide option to turn off count HOT 2
- Don't print extra space when running --layout=flat|iflat HOT 1
- FR: Compact tree output
- Directories not displayed: 'gitignoring' by default may be misleading
- docs: Update README section on `exa` to include `eza`
- If just it as the study project , what can I get from this projects. HOT 2
- [FeatureRequest] Support for wildcards on path
- additional config file paths HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from erdtree.