[mc] How to select a range of files

Guy Stalnaker jimmyg521 at gmail.com
Tue Sep 19 01:22:34 UTC 2023


1. Press +
2. A dialog will appear with a TextEntry Field, and three toggling options:
Files Only, Using Shell Patterns, and Case Sensitive; these are hopefully
obvious
3. With options selected, especially Using Shell Patterns, and the cursor
in the TextEntry field, you can select groups of files like you would at a
terminal prompt; e.g. typing "*.jpg" will cause mc to select all files in
the current directory with .jpg as their extension
4. With Using Shell Patterns deselected, this dialog uses RegEx expressions
for file selection; e.g., typing in the TextEntry field "(jpg|mtg)" will
cause mc to select all files with jpg and mtg *in their filenames*,
including those that end with .jpg and .mtg, using "(.jpg|.mtg)" will only
select files that end with .jpg and .mtg.

Hope this helps.

--

“Happiness is the meaning and the purpose of life, the whole aim and end of
human existence.”

― Aristotle


On Mon, Sep 18, 2023 at 6:56 PM mi via mc <mc at lists.midnight-commander.org>
wrote:

>
> ?
> --
> mc mailing list
> mc at lists.midnight-commander.org
> https://lists.midnight-commander.org/mailman/listinfo/mc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20230918/432e1617/attachment.html>


More information about the mc mailing list