Inventory Music and Video Files

Not applicable

Hey All-

I am trying to figure out how much music and video files users have taking
up space on on their hard drives throughout the enterprise. Has anyone come
up with a slick way of doing this with Casper?

Thx
Jon

-- Jonathan H. Smith | Sr. Systems Engineer | Genentech | office: 650-225-4968| mobile: 650-302-6985 | smith.jonathan at gene.com |

2 REPLIES 2

tlarkin
Honored Contributor

I use the find command in a script to search and destroy all media that is not supposed to be synchronized to the network shares. You could perhaps use the du command and then grep out a file type maybe?



Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351

talkingmoose
Moderator
Moderator

Date: Tue, 31 Mar 2009 17:50:48 -0500
To: <Casper at list.jamfsoftware.com>
Subject: [Casper] Inventory Music and Video Files

This may be one of those "pick your battles" scenarios but I'd love to hear
other ideas.

Are you concerned with how much space is being consumed with media files or
are you really concerned with disk usage? We've had a handful of cases where
machines become unusable because the disks have been filled. In that case,
we'll run:

sudo du -hd 1 /Users

The "h" means "human readable" and the "d 1" means show results just one
level deep. Of course, this only returns the size of the user folders but a
quick glance will reveal the problem user.

I'd imagine an easier way to approach this would be to set up a notification
in the JSS using Smart Groups for when disk space reaches a certain
threshold such as 85%. Then just run this command to determine the user
who's hogging space and investigate why.

--

bill

William M. Smith, Technical Analyst
MCS IT
Merrill Communications, LLC
(651) 632-1492