Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Complex File Copy

DZone's Guide to

Complex File Copy

·
Free Resource
find *.orig.jpg | perl -p -e 's/\n//; $x = $_; s/\.orig/\.large/; $_ = "cp " . $x . " " . $_ . "\n"'

Would have used the basename | xargs method covered here, but the filenames were odd.
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}