[Pidgin] #5209: Autoaccept plugin url-encodes() valid utf8 filenames (Korean)

Pidgin trac at pidgin.im
Sun Sep 27 10:06:20 EDT 2009


#5209: Autoaccept plugin url-encodes() valid utf8 filenames (Korean)
--------------------+-------------------------------------------------------
 Reporter:  difro   |        Owner:         
     Type:  defect  |       Status:  new    
Milestone:          |    Component:  plugins
  Version:  2.4.0   |   Resolution:         
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by elcid247):

 > i have this problem too but i came up with a command to fix the names,
 wish there was some way to have this run automatically on files after they
 get autoaccepted
 >
 > {{{
 > rename s/"20%|%20"/" "/g *
 > }}}
 >
 > idk if rename is installed by default so heres another 1 that does the
 same
 >
 > {{{
 > find -regextype posix-egrep -regex ".*[%]20.*|.*20[%].*" -exec sh -c
 'fixed=$(echo "{}" | sed -r s/"[%]20|20[%]"/" "/g); mv "{}" "$fixed"' \;
 > }}}

 err i just modified the find script to a better 1, too bad u cant edit
 comments here


 {{{
 find -regextype posix-egrep -regex ".*[%]20.*|.*20[%].*" -exec sh -c 'mv
 "{}" "$(echo "{}" | sed -r s/"[%]20|20[%]"/" "/g)"' \;
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/5209#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list