Remove dashes from filenames

Remove dashes from filenames


The below code removes spaces in filenames.
How can I also remove dashes – ?

rename "s/ //g" *


Previous [ubuntu] grub-install failed error when installing ubuntu on new MacBook Air
Next Problem with mysql

About author

You might also like

Ubuntu Dsicussions 0 Comments

Laptop reboots are awakening lockscreen

Hello, If I lock the screen on my laptop after a period of time (14 minutes?) if I try to re-awaken it, it will do a full reboot. This has

Ubuntu Dsicussions 0 Comments

System recovery after a crash using Timeshift

Crashes happen, mostly from user incompetence (I mean me) and very rarely from hardware or software faults. Restoring a system to an earlier (functional) state is often not simple. The

Ubuntu Dsicussions 0 Comments

Unable to run .AppImage in Ubuntu 16.04

Hello, We need to run a software through .AppImage file. For this we have set permission as execute (see Then we are trying to run by double clicking the


No Comments Yet!

You can be first to comment this post!

Leave a Reply