I want to convert the entire HTML directory to HAML so that the files have the same name but with a new extension.
html2haml file.html.erb file.haml
Can I run a loop so that I can convert all these files at the same time, so that the name is the same, only the extension has been changed?
My files:
continue_login.html.erb expired_trial.html.erb expired_trial.mobile.erb login.html.erb login.mobile.erb recover_password.html.erb signup.html.erb trial_expires_soon.html.erb trial_expires_soon.mobile.erb
source share