-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Can't open multiple files in selection #187
Comments
Hi @Iduoad. Thanks for your feedback. As of now, it is not possible to open multiple files at once: the second parameter, if any, is taken as an opening application (and since yours is a regular file, clifm spits out a Permission denied error). I guess adding multi-open support for the open function would be a nice improvement. For the time being, a proper error message will be added to let the user know the cause of the error. |
Thank you for the awesome work @leo-arch |
Proper error message added. |
Hi @Iduoad. Though we don't have multi-open right now (and I'm still not sure about this feature), there's still a workaround to get more or less what you want:
Note: Of course, it depends on the application whether or not it can handle multiple files at once (and what file types it can handle) Note 2: True, the auto-open function is lost here, but it pretty much does the trick. Hope it helps. |
@leo-arch I have an idea of how to fix this. What if you checked any paraneters after the first and see if they're an application or file? If it's a valid program, then use that to open the file, but if it isn't, consider it a selected file instead. That way, you can have you cake and eat it too, as you now can specify an application to open a single file with, automatically open two or more files, or specify application(s) to open one or many files. Basically, you open all files with all applications provided with clifm automatically determining what to use when you run the command. |
Basically, it is already working that way, except that only for single files. For example, The thing is to make it work with multiple files. This is already in my TODO list. Version 1.11 will be released in a few days, so, maybe for the next release. |
I was thinking the killer feature would be to have it available in the format of |
That would be nice indeed. |
This is nice but complicated. How clifm will know, which of the given argument is |
That was kind of the point, so that clifm does the hard work for us so the user doesn't have to. |
Describe the bug
I can't open all the files in a selection, is there a way to do that or is it impossible as for now ?
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: