Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jayhawk1941

macrumors member
Original poster
Oct 9, 2018
35
23
Long story short, I have to upload thousands of pictures to a website that only allows 50 pictures per upload (I know it's ridiculous...it's for a yearbook). I'm wanting to create a Quick Action in Finder that takes photos in the current folder and, upon clicking the button for the Quick Action, takes those photos and puts them into folders that hold 50 photos each. The folders can be named anything, but preferably would just be named 1, 2, 3, etc.

I am familiar with programming in C, Objective-C, and Swift, but this is my first foray into using Automator. Any help would be greatly appreciated!!!
 
Anyone use Automater here? Or do you think I might have more luck on Apple’s message boards?
 
Automator isn't that great for fine tuned actions (like the partial file move you want).

You can use a terminal command (assuming you don't have spaces in the filename and the folder exists):
Code:
mv `ls -p | grep -v / | head -50` folder
The ` are the ones above the TAB key

If you need to make a bunch of folders:
Code:
mkdir 1 2 3 4 5
makes folders named 1, 2, 3, 4, 5
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.