Your Ad Here

Posted By

fugue on 03/29/07


Tagged

file ls


Versions (?)

Format file listing


 / Published in: Bash
 

  1. for webfile in /var/www/html/*.html
  2. do
  3. name=$(echo $webfile | cut -d "." -f1)
  4. mv $webfile ${name}.htm
  5. done

Report this snippet  

You need to login to post a comment.