linux notes – copy *.txt.dist to *.txt

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

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.