Skip to content

Instantly share code, notes, and snippets.

@ericdodds
Last active December 21, 2015 12:38
Show Gist options
  • Save ericdodds/6306638 to your computer and use it in GitHub Desktop.
Save ericdodds/6306638 to your computer and use it in GitHub Desktop.
//Use this command to find and move a specific kind of file in a directory.
//This command searches recursively through nested folders.
$ find ~/old-music-folder -name '*.mp3' -exec mv {} ~/new-music-folder \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment