how to select files from multiple folders

Hello,


Im trying to solve a workflow issue I have. I need to copy only the files from several folders into another single folder. Currently I have to go into each folder and copy the data one folder at a time. I can select all the folders containing my files but how do I then select all contained files?


Not ever sure this is possible but thought I would give it a try.


Thanks for the assistance.


Troy

MacBook Pro

Posted on Jun 12, 2014 9:47 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 12, 2014 7:02 PM

If you open Finder Preferences, Advanced tab, and set "When performing a search:" to Search the Current Folder.

Then, you can go to a folder and enter jpg into the search field and it will search within that folder.


It will offer to search for matches or Kind is JPEG image. You can shortcut the search for Kind with "kind:jpg" for just JPEGs or "kind:Image" for all image file types.

11 replies
Question marked as Top-ranking reply

Jun 12, 2014 7:02 PM in response to LeroyJonz

If you open Finder Preferences, Advanced tab, and set "When performing a search:" to Search the Current Folder.

Then, you can go to a folder and enter jpg into the search field and it will search within that folder.


It will offer to search for matches or Kind is JPEG image. You can shortcut the search for Kind with "kind:jpg" for just JPEGs or "kind:Image" for all image file types.

Jun 12, 2014 11:18 AM in response to LeroyJonz

You can expand the List view to look like your description. You can select files within each subfolder. Multi-select by holding down the Command key.


Tagging solves the ultimate problem--inflexible organizational decisions--not the one you are asking about.

If you tag the files with, "Client", "Bird,"Color," "BW," etc

Those tags may be specific, like "Bob" and "Sparrow" or left generic like color and BW. You could also use a combination, such as "Clients" (general) and "Bob" (specific).


For example, your file 002 inside the BW folder could be tagged with, "Clients", "Bob", "BW", "Birds", and "Sparrow"

Instead of moving the file, you can delete the BW tag and replace it with another more appropriate tag.


Using spotlight, you can then search for any combination of your tags to get to the files you want.

You are "virtually" filing your images by Tag instead of by folder.

You could store the files in a folder structure that is not so complex, or no complexity at all.


If these are all just image files, then using a dedicated storage system such as iPhoto or Aperture would be better and provide similar Tagging with Keywords.

Jun 12, 2014 11:27 AM in response to LeroyJonz

Is there something common to the files you can search on? Something even in the images metadata could work.


If you can find that commonality then you could make a smart folder to collect all the images and then copy their to there final destination.


But to be honest given your brief description it sounds like your workflow could use a rethink. Having to manually manipulate files and images in this day-and-age is not something I would want to do. If you have the volume of images that you say you have I'd seriously look into a Digital Asset Manager (DAM).


regards

Jun 12, 2014 12:16 PM in response to LeroyJonz

You can try this:


Open a Finder window, maneuver to the root of the folders you want to search, type command-F this will open a Finder search window. Set kind to Folder and add Name enter something that will identify the folders you are interested in. If that all end in _jpg you can use that.


See what you get.


I was hoping that once I manually selected each folder I could then act on all the files contained as one collection.

If you want all the files in a folder you could just copy the folder, all the files in it will be copied.


If the search works you can save it using the Save button in the finder window.


Without more detail it's not really possible to be any more specific then this.


regards

Jun 13, 2014 4:51 AM in response to LeroyJonz

Good idea.

You can really select all the items in a workflow (though it may be possible with Applescript). I think the closest you could do is this.

User uploaded file

First, get a folder from the Service.

Then, Set value of Variable (Utilities)--Don't set the variable, yet.

Find Finder Items--Choose New Variable and pick any folder (it will get reset by workflow)

Go back to Set Value of Variable and select that new variable you just set.

Add a Find Finder Items and set the Criteria as shown. You might try Other and type in jpg (didn't test)

Copy Finder Items--check the box in Options as shown. Pick a starting point folder to traverse from, like the top level folder where you would make the backups. This will let you pick the destination for the copy when you run it.


Edit: There is a Reveal In Finder action, but that opens a single window for each file.

I had tried a Filter Finder Items after a Get Folder Contents, but I got an error about a missing "Properties..." file. I don't know if that is just broke on my end, or all around.

I also assumed since you are trying to back these up, a Copy would substitute for selecting them all.

Jun 12, 2014 11:06 AM in response to Axeman1020

Thakns for the reply!


I dont understand how tags or labels will work in this situation. Within a folder I have several subfolders and those subfolders contain files. In the example below, I want to select all the files in "Color" "BW" so I can copy them to another location without having to go into each and every folder seperately. If I were to use tags or labels how I understand them, I would have to select all the files seperately to apply the tags or labels defeating the purpose.


I was hoping that once I manually selected each folder I could then act on all the files contained as one collection.


CLIENT

--- BIRD

--- COLOR

--- File 001

--- File 002

--- BW

--- File 001

--- File 002


Thanks again for the assistance.


Troy

Jun 12, 2014 11:37 AM in response to Frank Caggiano

This process of my workflow is for backup only. I need to move the files to an offsite drive. I currently use LR and the data is very well managed with over a million images in the catalogue. This is just one small aspect and a manual offsite data backup.


I have considered a smart folder or a saved search but not familiar enought to have gotten that to work. All the folders that contain the images I need are named _jpg. Is there a way to save a search that I can then apply to a select client folder?


Thanks for all the advice.


Troy

Jun 12, 2014 6:13 PM in response to Frank Caggiano

You are on to something! The finder search works great.

The saved search only saves preferences for the folder that was used when saving the search. Is there a way to make a generic search that I can apply to any folder. For example I would like to select a root folder if a client and search for all file types that are .jpg


Thanks for all the help! I know it may seem like a trivial process but will make a huge difference in my workflow.


Troy

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.

how to select files from multiple folders

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