/ Published in: Bash
Copy every file with .dist in the end to a new file without .dist
Expand |
Embed | Plain Text
for f in *.dist; do cp $f `basename $f .dist`; done
You need to login to post a comment.
Copy every file with .dist in the end to a new file without .dist
for f in *.dist; do cp $f `basename $f .dist`; done
You need to login to post a comment.