Timeline for Using globbing/wildcards when Opening Files from Terminal
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 16, 2013 at 5:16 | comment | added | slm♦ | @coteyr - yup there's essentially 3 methods here. (1) I want to open everything except X, (2) I want to open X,Y,Z, or (3) I want to open only files contained in dir. This A covers (3), and mine covers (1) & (2). It depends on the use case, they're all equally good in their own ways. | |
| Nov 16, 2013 at 4:59 | comment | added | coteyr | @slm, I think the globbing is nice but it seems to be "harder" to use unless you want to "know" the folders content. This answer can just be run with out any special knowledge of the directory. | |
| Nov 16, 2013 at 1:28 | comment | added | slm♦ | @coteyr - You can do better than this using extended globbing in Bash! See my updated answer. | |
| Nov 16, 2013 at 0:58 | comment | added | coteyr | This seems like the best option. | |
| Nov 15, 2013 at 23:03 | comment | added | Jeight | As far as I'm aware that's the closest your gonna get to what you need. | |
| Nov 15, 2013 at 22:41 | comment | added | Newb | That'll work, but it's a pretty long command. I could alias it, but I feel as if a more elegant solution has to be possible... | |
| Nov 15, 2013 at 22:40 | history | answered | Jeight | CC BY-SA 3.0 |