Skip to content

Instantly share code, notes, and snippets.

@corporatepiyush
Created September 4, 2017 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corporatepiyush/cae42f50d2596f8c8b937a0fb4bdd0ce to your computer and use it in GitHub Desktop.
Save corporatepiyush/cae42f50d2596f8c8b937a0fb4bdd0ce to your computer and use it in GitHub Desktop.
Find file by name and copy to desired destination folder
find <directory> -name 'screen.png' | xargs -n1 cp <file/directory to be copied>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment