Penguin
Note: You are viewing an old revision of this page. View the current version.

Common Find Examples

Recursively copy files all .jpg files to a particular dir.

find . -type f -iname '*.jpg' -print0 | xargs -0 cp --target-directory=foo