Created
July 15, 2012 18:59
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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