Posted By

dorseye on 06/21/12


Tagged

Bash extension


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

greeneggs614
dvertigo


BASH one liner to rename extension of all files in folder


 / Published in: Bash
 

BASH one liner to rename extension of all files in folder

  1. for file in `ls *.asl`; do sudo mv $file `basename $file .asl`.asl_old; done

Report this snippet  

You need to login to post a comment.