/ Published in: Other
                    
                                        cd to directory, then run the line below to change any spaces in a filename to hyphens
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 for i in *; do mv "$i" "`echo $i | sed -e 's, ,-,g'`"; done
Comments
                    Subscribe to comments
                
                