Skip to content

Instantly share code, notes, and snippets.

@hackingbutlegal
Created August 20, 2015 23:28
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 hackingbutlegal/5743955ee411043ce5ba to your computer and use it in GitHub Desktop.
Save hackingbutlegal/5743955ee411043ce5ba to your computer and use it in GitHub Desktop.
Find files with certain extension and move to specific dir
find / -iname "*.ext" -exec mv {} /root/file_dir \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment