Flatten folder/directory tree


/ Published in: Bash
Save to your folder(s)

Useful for when you want to move all mp3 files in sub directories into the current dir


Copy this code and paste it in your HTML
  1. find . -name *.mp3 -exec mv {} . \;

URL: http://www.supermind.org/blog/875/flatten-folderdirectory-tree

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.