6 ms·
Midnight Commander Tips and Tricks
- Villodre 5y agoMC always brings a lot of nostalgia and the though that I used to be extremely productive with it. Surely it's just a mirage of my memory and it's just I don't perform so many file managing actions anymore, but I remember not even bothering with Windows Explorer until at least XP.
- throwaway5371 5y agoThe regression from Windows Explorer and OSX Finder to Midnight Commander is absolutely amazing. We have only gone backwards, in all aspects, from performance to usability.
- deepspace 5y agoI don't understand your comment. Midnight Commander is not a new tool. It is based on Norton Commander, which precedes the tools you mention by years.
- throwaway5371 5y agodo you think Finder is better than mc/nc?
- johnwalkr 5y agoParent means regression from MC to windows explorer and MacOS finder. I agree, both have added tabs in recent years but I miss the dual directory view in MC. And for that matter, in many tools from about 20 years ago.
- mariusmg 5y agoDOS Navigator baby !!!
- akoster 5y agoMuxe's fork is still alive and kicking! http://www.ndn.muxe.com/ http://www.ndn.muxe.com/
- aratob 5y agoSpeaking about 2-paneled file managers, I’m still a fan of Far Manager on Windows.
- ant6n 5y agoTotal Commander all the way
- unixhero 5y agoNothing ever comes close... Welp only Double Commander, the gpl reimplementation :)
- oblio 5y ago29 years old and still going :-)
- CyberShadow 5y agoI remember this holy war. :) I think Far Manager wins in extensibility and being FOSS, and Windows/Total Commander wins in out-of-the-box utility.
- DenisM 5y agoNow also on MacOS and Linux https://en.wikipedia.org/wiki/Far_Manager#Linux_and_MacOS_version https://en.wikipedia.org/wiki/Far_Manager#Linux_and_MacOS_ve...
- pmoriarty 5y agoI like MultiCommander[1], which I've been using for many years, because it's quite feature rich. It would be great if there were some in-depth, feature-by-feature comparisons of all these two-pane file managers. [1] - http://multicommander.com http://multicommander.com
- xaduha 5y ago> If you use vi, Vifm gives you complete keyboard control over your files without having to learn a new set of commands https://vifm.info https://vifm.info
- entropie 5y agoWhen I learned linux and dug deeper into programming mcedit was my tool of choice and I used it a fairly bit until I discovered emacs and took some very painfull and time consuming approaches to get into emacs. (Partly I was offline and the nature of a self documenting OS and text editor was novel for me and so enlightening. Later I tried to get better and standard terminal stuff and abandoned mc from my system so i couldnt cheat around. These day, my GF uses mc sometimes to get very basic things done.
- sandreas 5y agoAlternatives for terminal are: lf (https://github.com/gokcehan/lf https://github.com/gokcehan/lf) nnn (https://github.com/jarun/nnn https://github.com/jarun/nnn) lfm (https://github.com/langner/lfm https://github.com/langner/lfm) vifm (https://vifm.info/ https://vifm.info/) ranger (https://github.com/ranger/ranger https://github.com/ranger/ranger) With UI (cross platform): muCommander (https://www.mucommander.com/ https://www.mucommander.com/) DoubleCommander (https://doublecmd.sourceforge.io/ https://doublecmd.sourceforge.io/) fman (https://fman.io/ https://fman.io/) Camelot (https://github.com/IngvarX/Camelot https://github.com/IngvarX/Camelot) I prefer lf and muCommander (only for simple ops, though), for sync and resumable copy I use rsync and rclone.
- CyberShadow 5y agoAny suggestions for good performance and extensibility? I've tried a few but kept coming back to Midnight Commander for performance/stability and VFS support.
- unwind 5y agoIf GTK is acceptable, maybe try gentoo [1]. It's not very well maintained "lately", but performance used to be a goal and it sure has a lot of settings. Disclosaroo: I wrote it. [1] https://en.m.wikipedia.org/wiki/Gentoo_(file_manager) https://en.m.wikipedia.org/wiki/Gentoo_(file_manager)
- karlicoss 5y agowondering, what do you miss in mc that you look for alternatives? (not saying mc is complete, just curious!)
- sandreas 5y agoI did not look for alternatives, but in some of the good old linux resources sometimes super new and fancy file managers come up and I took notes on these, because I always planned to develop my own file manager with terminal UI... Especially vim shortcuts are often a thing - I personally like single file binaries that are portable, have sane defaults and easy to setup without root permissions (like lf).
- thom 5y agoI can't think of another tool which evokes the same level of recursive nostalgia as Midnight Command. Firstly, that it was the environment I spent most of my forays into Linux inside. And secondly, that I only fell in love with it because of Norton Commander in DOS (one of the main uses for which was setting up a parallel cable connection to my brother's PC to play DOOM together).
- BeetleB 5y agoI made a Midnight Commander Guide (as a presentation) years ago: http://blog.nawaz.org/posts/2012/Dec/a-guide-to-midnight-commander/ http://blog.nawaz.org/posts/2012/Dec/a-guide-to-midnight-com... And yes, definitely FAR Manager on Windows!
- shdon 5y agoThe actual Midnight Commander Guide PDF link leads to a "repository not found" page on Bitbucket. Archive.org still has a single copy, dated December 2014.
- BeetleB 5y agoYes - Bitbucket killed it and I didn't bother moving to another repository.
- knight17 5y agoThank you, archive.org: http://web.archive.org/web/20141226102123/https://bitbucket.org/beetle_b/midnight-commander-guide/raw/default/mc.pdf http://web.archive.org/web/20141226102123/https://bitbucket....
- BeetleB 5y agoOh - did not realize that the actual PDF was also on Bitbucket. I'll rehost it elsewhere. Thanks to both of you for alerting me to this!
- Aspos 5y agoFAR works great in Linux as well as in MacOS: https://github.com/elfmz/far2l https://github.com/elfmz/far2l
- canistel 5y agoI do have mc installed, but Double Commander remains the first choice owing to:- - Tabs - Multi-file rename
- themodelplumber 5y agoDouble Commander is really nice, a favorite for sure.
- karlicoss 5y agoFor multi-file rename, vidir is excellent https://linux.die.net/man/1/vidir https://linux.die.net/man/1/vidir
- canistel 5y agoThanks for suggesting this tool. Didn't know about it until now. From what I have read, sounds like a powerful tool and I would be trying it out.
- canistel 5y agoBtw, I just figured out that Double Commander has the very same capabilities too. You can get the list of selected file names in an editor, make the necessary changes and save. Multi-rename tool > Editor (bottom right). Ctrl+M is the shortcut for Multi-rename tool.
- npteljes 5y agoI also love Double Commander for its "synchronize" functionality. And the fact that I can't be arsed to use a text-based interface in a graphical environment. In terminals, of course, mc is the jam.
- drran 5y agomc supports multi rename, for example try rename `*.foo` to `*.bar`.
- canistel 5y ago
- acidburnNSA 5y agoI have convinced my wife that Midnight Commander is an excellent name for our future black cat.
- themodelplumber 5y agoThat's awesome. Plus you could chill late at night and listen to Norton Commander together. https://www.youtube.com/watch?v=qmVeQEysvtk https://www.youtube.com/watch?v=qmVeQEysvtk
- papito 5y agoMidnight Commander is such a great name for a dirty flick.
- ratsmack 5y agoThe number of stale links on that page is kind of sad.
- anothermindbomb 5y agoI never used pc clones when I was a kid. It was an Amiga for me, and in my world Directory Opus was king. It still is on my windows pcs these days. Great software and still actively developed. Come to think of it, I no longer recall what Windows Explorer actually looks like.
- TomDavey 5y agoYes, Directory Opus is outstanding. I'm an Emacs fanboy to an intense degree, but I've never bothered to learn Dired. Directory Opus, although mouse-driven, is simply too powerful. What is this Windows Explorer of which you speak?
- lordgrenville 5y agoHa, I'm the opposite - not a hardcore Emacs user but I use dired whenever I can. wdired-mode is such an intuitive way to do bulk renaming.
- opan 5y agoFor bulk-renaming, I love ranger's :bulkrename command, which I think calls out to an external program, vidir or something. It opens the list of files in vim where it becomes very fast to do edits to them. Easy copy/paste, flipping between upper and lowercase, etc. You can do the same edits on multiple lines using visual mode. It all works how you'd expect if you know vim.
- runstop 5y agoCheckout Worker if you want something like DO for X. It's very fast and very configurable! http://www.boomerangsworld.de/cms/worker/ http://www.boomerangsworld.de/cms/worker/
- philonoist 5y agoThere is only one true god, an 800MB beast - Total Commander Ultima Prime[0] [0]https://www.tcup.pl/forum/showthread.php?tid=3125 https://www.tcup.pl/forum/showthread.php?tid=3125
- blackfawn 5y agoThe article mentions it, but my favorite mc option is enabling lynx-like motion. Being able to left/right arrow in and out of directories is so convenient!
- every 5y agoLynx itself is a modest fm. It has a host of editing and file/directory commands. The first entry in my lynx menu is ~/
- cassepipe 5y ago""" You need to take some steps to make MC to exit in the current directory visible on the screen. One way is to use alias such as alias mc='mc -P "/tmp/mc-$USER/mc.pwd.$$"; cd `cat /tmp/mc-$USER/mc.pwd.$$`; rm /tmp/mc-$USER/*' The other is to use a supplied with mc more generic script alias mc='. /usr/libexec/mc/mc-wrapper.sh' One of the most common problems with mc is incorrect display of pseudo-graphical characters, which spoils borders on the panels and while this defect does not affect functionality, is very unpleasant aesthetically. See Midnight commander does not display pseudo-graphic characters properly for more information. You can use option -a to use regular characters instead and in most cases this is an adequate solution. """ Hell, no. I am glad I learned vim and I am still using it a lot but I am not going down another rabbit hole where easy and simple things are ... contorted. And I don't want to take care about another configuration file in order to feel at home. I just want sane defaults, simple things made easy and complex task possible. What I like about vim is that the modal editing paradigm. All the rest could be better and whenever Neovim or Helix or Amp or Onivim or any other terminal editor/ide is 1.0, I'll jump ship. Navigating files with the command line is not that complicated imho. I don't blame Vim, maybe it was not meant to be an IDE. Maybe we need a terminal IDE.
- unilynx 5y agoYou don't need to set up that alias. I'm guessing it's a holdover from the DOS days with Norton commander where you would launch nc just to quickly navigate to a directory and then quit it, which can't easily be done on Unix. (the current drive/directory was global state in DOS - it even recorded the current directory per drive, but that may only have been command.com doing that)
- tinus_hn 5y agoNote that this kind of scripts is a security issue if the system does not implement per-user tmp directories, especially if it regularly cleans the /tmp directory. Which this script appears to expect.
- zoomablemind 5y agoDoes mcdiff support a side-by-side diff, similar to 'diff -y'?
- mrsaint 5y agoZTree Gold, my friends, is what I miss most dearly ever since I moved my whole life to Linux.
- drummojg 5y agoIt's been a minute since I've thought about mc--which is the point, I reckon.