-
-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command line wildcard for reading several files (without multiple -f) ? #2290
Comments
I often wish for that too. It's not currently possible; at times I have used shell scripts to generate the multiple -f's. Enhancements considered:
What other things could we do ? |
|
I thought something like Edit |
That doesn't work, because the shell will expand that to
which can't be parsed sensibly. |
What if you could pass a directory as the argument to
|
That sounds fine too, but only when you have no other kinds of file in the directory. |
I think a directory often contains files that include each other. In that case, reading all files would not be desirable, as the includes will cause some of them to be read a second time, duplicating the data. Instead, how about reading the file named like the directory, if any. Eg:
If no similarly-named file is found, it could default to reading the alphabetically first ? So you could designate the main file by prefixing a 0, _, or capitalising its name. |
@simonmichael I like the principle of "less is more". I started this thread but I realised we can reference files from inside of it. So having an |
+1 to that principle. I think I like the idea of using a directory-named file as the index. More useful than a generic "index.journal" name. (Currently doing cleanup of old journals, and I am quite often typing |
I would like to use the argument -f to add files of an entire directory (representing a year), is it possible?
The text was updated successfully, but these errors were encountered: