Questions tagged [mc]
MC (GNU Midnight Commander) is a free cross-platform orthodox file manager and a clone of Norton Commander. It was started by Miguel de Icaza in 1994.
131 questions
0 votes
1 answer
175 views
How to connect and browse files of remote server via Midnight Commander's Shell link (copy files over SSH) if the private key requires password?
There are endless number of helpful articles and answers on how set up ~/.ssh/config (e.g., this one's pretty good), but none of them mentions what to do if the private key is also password protected.
0 votes
1 answer
45 views
is it possible to invoke mc with a tar.gz path as a parameter to open mc directly inside the tar.gz?
I am trying the obvious: mc file.tar.gz but the tar.gz is not opened any ideas?
0 votes
5 answers
196 views
Move/mark files and the associated-part too
There is a folder with many files in it: 112.mkv 123.md5 123.mkv 221.mkv 467.mkv aa1.mkv abc.md5 abc.mkv bbc.mkv dde.md5 dde.mkv ggh.mkv .... xxy.md5 xxy.mkv xxz.mkv How can I move .md5 files and the ...
0 votes
0 answers
44 views
bash-completion doesn't work in Mignight Commander shell
Normal Ubuntu 22.04 install, bash-completion is installed and works in a normal shell. For example, if I type "docker " and press TAB, it will show a list of Docker subcommands. If I now ...
0 votes
1 answer
243 views
How to press <F15> key in mcedit, if my keyboard only has F1...F12?
I use mcedit (part of GNU Midnight Commander) to edit text files in Linux. It has a hotkey for "Insert file..." - F15 (the same as F9 -> File -> Enter -> Insert file). But my ...
0 votes
0 answers
173 views
Show the last commands output panel if file panels are active in Midnight Commander?
Midnight Commander allows showing command prompt along with panels if the respective option is enabled in Options -> Layout -> Command prompt. I find the option pretty useless (for me) because ...
3 votes
1 answer
644 views
How to open a .tar.xz indexed archivefile with Midnight Commander?
tar -I pixz -cf foo.tar.xz ./foo compress the Stuff. tar -I pixz -xf foo.tar.xz decompress the Stuff. And with pixz -l foo.tar.xz comes a list the contents. How can i do this with (mc) Midnight ...
1 vote
1 answer
979 views
Midnight Commander show disk usage
I am trying to use midnight commander (mc) to show disk usage of particular directories. I'm aware that I can use the command menu, but I need see individual directory sizes on the fly. I am using ctl ...
-1 votes
1 answer
205 views
Midnight Commander: working with slow devices/resources
Midnight Commander (mc) may appear "hanging" too often and for quite a long time when a folder with a lot of files located on a slow device/resource like MTP device or SFTP is shown in one ...
1 vote
0 answers
2k views
In midnight commander, how to select a large continuous range of files
Is there some thing similar to the shift mouse left click in GUI file explorers? Basically something to mark the start and end of the selection, and selects anything in between? My scenario is, I ...
1 vote
0 answers
556 views
midnight commander: sort directories by name and files by date?
Is it possible to sort directories by name, and files by date, at the same time? It is easy to obtain this behavior in Total Commander, which I find very nice. Thanks.
0 votes
1 answer
350 views
Midnight Commander Options/Appearance menu is missing on RHEL 7 latest
I am using RHEL 7.9 and installed mc with the following commands: yum update yum install mc Options/Appearance menu item is missing. Doing the same on RHEL 8.1 gives the Options/Appearance, probably ...
1 vote
1 answer
634 views
simplest possible pager
In mc (midnight commander), I can define custom command for viewing files, ie: shell/i/.jpg Open=gpicview %f View=file %f | less The command file %f has to be piped to a pager. I am using ...
1 vote
1 answer
960 views
How to select files in Midnight Commander using an external command (e.g., `find`)?
I'm trying to select files that are older than a specific date & time, and found this MC ticket that exactly describes my issue, and this comment on it provides a workaround, but I cannot get it ...
1 vote
1 answer
2k views
What is midnight commander option "dive in to subdir if exists" copy option for?
When I press F5 it has one of the options to dive in to subdir if exists but what does that actually mean? You'd think it means if you copy without that option it would copy just one level, but ...