hmm... there was a small bug in the script ... here comes the corrected version
find . -type f -perm -100 -exec sh -c "sed 's/\"\$@\"/\$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS/g' '{}' > /tmp/tmp123; chmod 750 /tmp/tmp123; mv /tmp/tmp123 {}" \;
I forgot overwrite the "s surrounding $@
<code>
<blockcode>
<foo>
[foo]
More information about formatting options
my del.icio.us
hmm... there was a small bug in the script ... here comes the corrected version
find . -type f -perm -100 -exec sh -c "sed 's/\"\$@\"/\$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS/g' '{}' > /tmp/tmp123; chmod 750 /tmp/tmp123; mv /tmp/tmp123 {}" \;
I forgot overwrite the "s surrounding $@