Skip to content

Instantly share code, notes, and snippets.

@chrisdigital
Created July 15, 2012 18:59
Show Gist options
  • Save chrisdigital/3118170 to your computer and use it in GitHub Desktop.
Save chrisdigital/3118170 to your computer and use it in GitHub Desktop.
Find files, by string in file names, in current directory, then move the files to another directory you've already created - bash command
sudo find . -name "string-in-filename-goes-here" -exec mv {} ~/full/destination/path/goes/here/in/your/user/folder \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment