Posted By

bub3d on 10/12/09


Tagged

Bash


Versions (?)

Group rename of files


 / Published in: Bash
 

Copy every file with .dist in the end to a new file without .dist

  1. for f in *.dist; do cp $f `basename $f .dist`; done

Report this snippet  

You need to login to post a comment.