Skip to content
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

Low priority: Name collision with Midnight Commander #873

Closed
richarson opened this issue Jul 13, 2015 · 5 comments
Closed

Low priority: Name collision with Midnight Commander #873

richarson opened this issue Jul 13, 2015 · 5 comments
Labels

Comments

@richarson
Copy link

Just wanted to point out that Midnight Commander (http://www.midnight-commander.org/) also uses mc as its binary name (which is not that bad because I can rename Minio client's binary) and older versions (e.g. as found on CentOS 5) also use ~/.mc as config directory (which could be a problem but it's mostly messy).

Is there any chance of renaming Minio's client, or have some switch at compile time?
Or maybe permanently pointing it to a different config file?

TIA

Note: I've been using Midnight Commander extensively for 10 years but I'm in no way affiliated with the project.

@abperiasamy
Copy link
Member

You have a point. Even though user can rename mc binary name, config dir still conflicts. We have two options here:

  1. mc will automatically assume config path to ~/.($BINARY_NAME)/ or support -C /path/to/config
  2. Change the name of the project. We struggled with this. It is really hard to find a name shorter and sweeter than "mc" :(

@abperiasamy
Copy link
Member

Commit #874 adds support for custom config path. Thanks Richarson for your contribution.

@richarson
Copy link
Author

@abperiasamy Au contraire, thank you for the quick solution!

@dR3b
Copy link

dR3b commented Dec 16, 2016

This is my solution:

~ % mv ./mc mcli

Problem solved ;)

@guettli
Copy link

guettli commented Mar 19, 2019

you think this is a solution:

mv ./mc mcli

This is creating work for everybody - let's fight unemployment. (joke)

This is just a work-around.

Please provide a unique name from upstream.

The current name mc creates confusion and will lead to several solution. DistroX will call it "foo" and distroY will call it "bar", abcBSD will call it "blabla".

The midnight commander was here before.

If you want a sane solution, then please give it a unique name from upstream and create a shell alias for you.

@minio minio locked and limited conversation to collaborators Mar 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants