• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 107
  • Last Modified:

How to see combined file sizes from Mac.Finder?

I wold like to scan my disk for all JPGS and se how large they all add up to. If I right click the selected files and pick "Get Info", Finder opens thousands of little windows.

I want to see the combined sizes of all JPGS.

Thanks.
0
newbieweb
Asked:
newbieweb
  • 2
2 Solutions
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Best to write a script to do this. I'd likely use PERL + run find as in...

find /path-to-images -name "*.jpg" -printf '%s %p\n'

Open in new window


To return size + full path, then do whatever math you like on subset of images you locate with find.
0
 
newbiewebSr. Software EngineerAuthor Commented:
I do not know PERL. Any other options?
0
 
arnoldCommented:
what options do you have available to you?
terminal window ls -l | awk ' { print $NF,$5 } '  ....of contents
get the resulting data into a speadsheet and sum the column where the
0
 
newbiewebSr. Software EngineerAuthor Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now