-
Notifications
You must be signed in to change notification settings - Fork 18
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
actions-for-nautilus doesn't handle specials character in filenames... #53
Comments
Yes, this is a known -deficiency (dare I say "feature" :D) because these characters are shell characters. It's very difficult to cater for ALL special shell characters. However, I will try to work around this. |
@Creteil - Sooo - I can actually fairly easily solve this, but it has a tricky downside: It will severely mess with any command that is already using selection quoting or escaping in its own command line string (you know, adding backslashes or single/double quotes ...) So I'm thinking of one of two ways to address that issue:
As a user, which would you prefer? |
TBH, I leave you the choice, by the way can you show us an example of the 2 options with my filename as input :
My actual command :
|
The way I plan it you wouldn't need to do anything because I would get people to change their manually escaped commands to one or the other. BUT if you were to change your command now to
you might find you'll get it to work right now! Try that |
(That doesn't mean I'm not gonna fix this - I just think that your case has an immediate workaround) |
Yes it work perfect double quoting the original command.... 👍 |
Well NOW you've put yourself in that second group of users who are manually escaping ... so you could leave your quotes in place and either set an option on the command configuration page to disable internal escaping for the command, or change your command to be...
(or some other character that I may end up choosing)... Or, in your simple case, simply remove the quotes when the fix is released, of course. :) (P.s. - I see you are French - excellent English I must say - I'm a Rosbiff who has lived in France for coming on 30 years - terrible at French still, though :)) |
You are over-considering my English, on my side, I tend to say : « I speak English as a Spanish cow... » 🤣🤣🤣 |
I keep an eye on your next commit for the other way to manage the problem and give it a try... |
I've just run into this same issue. If there was a way to get the raw string from say This has come up because I have some files with irksome characters in their file names that the shell doesn't agree with. I could scrub these characters from the files manually of course but it would be nice to be able to leave them as is since the files originate from external sources and it would be kinda tedious to catch them all. |
Hey there... I've been a bit lax on support for this project lately, due to
another project. However that one is reaching a stopping point now, so I'll
get back to looking at this in the next couple of days.
…On Sat, May 25, 2024, 18:02 Aaron Cepukas ***@***.***> wrote:
I've just run into this same issue. If there was a way to get the raw
string from say %f that would be perfect. Using a different character to
indicate "raw", like @, as was suggested would work well because you
could then specify it for some parameters while leaving others to shell
escape with % in the same command string.
This has come up because I have some files with irksome characters in
their file names that the shell doesn't agree with. I could scrub these
characters from the files manually of course but it would be nice to be
able to leave them as is since the files originate from external sources
and it would be kinda tedious to catch them all.
—
Reply to this email directly, view it on GitHub
<#53 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADAKLWWVZN7XUZUMMTQFC33ZECY2HAVCNFSM6AAAAABBBUG2LGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZRGMYTONRTG4>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Nice! It's a great utility. It let me clean up a lot of nautilus cruft that had been piling up. My old context menu was getting out of hand. |
I agree; having access to the raw path would be more useful than/alongside the current partially escaped version. Please :) 🙏 |
For example, a file containing an exclamation point :
The log of « Nautilus » say :
The text was updated successfully, but these errors were encountered: