finding and moving files in multiple folders

Hi


I am trying to locate and move hundreds of .wav files currently situated in 193 subfolders inside a folder called "ambient". They are mixed with other filetypes. I want to move all these wav files into a new folder called "new ambient" but without any subfolders.

At the moment the only way I can think of doing it is to open each subfolder and move each wav file to the new folder. An earlier task took me hours! Is there anyway in spotlight or finder or any other app I can filter the wav files from inside the ambient folder's subfolders (ignoring the subfolders themselves and other filetypes) and "apple shift" bulk move them in one go to the new ambient folder? A simple wav search in finder, which I've tried, would also catch thousands of other wav files elsewhere on the hard drive, but I can't find a way to search within a specific folder


any help appreciated

Posted on Apr 20, 2013 6:55 AM

Reply
9 replies

Apr 20, 2013 11:05 AM in response to Paul Mottram

Hey Paul,


This is very easy. But you will need to use Automator app. Which is in your Applications folder. Click on it.


It will ask you what type of document. Select "workflow".


Then from the far left menu click on the Finder.


Like this:


User uploaded file

Then using my example below, start dragging the actions to the right panel (as above) until it looks like this:


User uploaded file

Once you are done. Run the workflow, and it should work. You run it by clicking on the top right corner button.


After this is done it should work. Let me know!

Apr 20, 2013 12:18 PM in response to Paul Mottram

You could use a smart folder in Finder.


Open a Finder window and go to the top level folder where the files are.

Press command -f a Finder search box opens.


User uploaded file

What you'll see after the cmd-f the Search: folder should reflect the folder you opened and will search.


Now click the Kind box and in the list that opens select other


User uploaded file


In the attribute window that opens search for extension


User uploaded file

Choose File extension and click OK.


Back in the Finder window enter wav


User uploaded file


All the files under this folder with an extension of wav will appear in the Finder. You could leave the files where they are save this search and always access the wav files from here. It will appear and act as a normal folder. The advantage is that the update of the search is dynamic. If you add more wav files in the future they will show up here automatically.


If you want to create an actual folder to hold these then open a new Finder window and create the new folder. Then select all the files in ths window and drag them to the other.


reagrds

Apr 20, 2013 2:57 PM in response to pjdube

unfortunately not Phil.

I've tried it three times with three different results.

I don't have a finder option in lion automator, it is a files and folders action but it appears to do the same thing.

The first time I tried it transferred only five files.

the second time it said there was an error because I was trying to move the destination folder back into into the destination folder and

the third time it tried to copy the entire parent folder of the root folder from which I was trying to extract.

This is all really strange as the instructions were exactly the same all three times.

I'll keep experimenting but thanks for all your advice. I must be doing something wrong

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

finding and moving files in multiple folders

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.