Konqueror Service menus

Luis Neves lneves at netcabo.pt
Thu Aug 21 22:00:14 BST 2003


Andrew Wendt wrote:

> On Thursday 21 August 2003 14:56, Kevin Krammer wrote:
>> > [Desktop Action UnZip]
>> > Name=UnZip Here...
>> > Exec=/bin/sh -c "cd %d && unzip -o -d $(basename %n .zip) %n"
> Wouldn't this break if the filename (or any of the parent directory names)
> contained spaces or other weird characters?

I just tested it, and you are correct, it breaks if the filename has spaces.
It doesn't seem bothered by spaces in the parent directory names though.

Luis Neves

This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

More information about the kde mailing list