BASH one liner to rename extension of all files in folder


/ Published in: Bash
Save to your folder(s)

BASH one liner to rename extension of all files in folder


Copy this code and paste it in your HTML
  1. for file in `ls *.asl`; do sudo mv $file `basename $file .asl`.asl_old; done

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.