In terminal, move all files of kind 'movie' in subdirectories into highest-most parent?
I created an automator workflow to do it, but I'm not sure its doing it right. There's no way to see a verbose description of what its doing, and if it is working, it's moving about 4 files every 45 minutes.
I have a folder, we'll call it 'parentFolder.' It's got many, many, many, many subdirectories or child folders with many different types of files. I want to use terminal to recursively go through each subdirectory, pull out any file with a 'kind' of movie, and move it to parentFolder.
Since I know this is going to require us 'Find,' and scripting, I figured I would ask the syntax. Since Find is, I believe, a Unix command, it may be that you cannot do it by 'kind' and must do it based on a number of potential extensions that movie files would have. That's fine too, but not optimal.