-
Notifications
You must be signed in to change notification settings - Fork 307
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
Nemo actions miss space with multiple spaces in one file name #3527
Comments
It's your script.
Note that the trailing * appears to be silently ignored from the filename. |
Thanks @Jeremy7701 So I do need help.
Both the Also about the trailing |
OK I figured it out. Turns out that was not the So I modified most of the quote needed part.
I think it works now. |
You can add an option on the first line of the script Note that I just about manage to get by in bash, for difficult questions go to https://unix.stackexchange.com/ It tends to be more common to use command substitution - that's writing Also, use of eval can be dangerous - you are telling bash to execute a variable as a command. Just noticed:-
Is this correct? |
@Jeremy7701 Thank you for your more information. Well sadly stackexchange often close my question by duplicated meanwhile the related answer is actually not related. I kinda give up that. The
This part was for testing if the double quotes fix multiple space issue and it worked. It has no other purpose so I will comment this part after this. |
Distribution
Mint 20.3
Package version
nemo 5.2.4
Frequency
Always
Bug description
here is my action file
here is the related file
here is my script.sh
So you can see there is a filename
'2 2.png'
which contains more than one space.When it is called. The %F past to my script, but my script received
$1: /media/cat/Temp/Output/Shotcut/ai-story/image/retired/2 2.png
only one space.I'm still using LinuxMint 20.3 Cinnamon. If this is fixed in LinuxMint, please tell me. If not ...... well that's a bug to nemo.
Steps to reproduce
Try nemo actions on one file with multiple spaces
Expected behavior
it should pass %F as the full filepath
Additional information
I seached and saw nobody talked about this
The text was updated successfully, but these errors were encountered: