Copy several files to a new filename Posted on 9. February 200713. November 2007 by Hans-Henry Jakobsen for f in *.dist; do cp $f `basename $f .dist`; done Share this:FacebookX