This post is more than 5 years old
2 Intern
•
127 Posts
0
1155
May 26th, 2011 09:00
Celerra CIFS Share scan for specific filetype
The CIFS fileshares on our Celerra is running out of space and I would like to know is there any freewares/tools to scan a CIFS Fileshares for Audio/Video files and generate a report in excel/csv format for each user. I know there are tools like VSRM. Rainfinity FMA etc to scan for a specific file etensions on a CIFS Share but I donot have that in our environement. Right now I'm forced to do unix "find" command under the root_vdm/fsname to get some information but formatting it taking time.
Thanks in advance.
No Events found!
umichklewis_ac7b91
300 Posts
0
May 26th, 2011 10:00
Easiest way is to just re-direct output to a text file, then import/manipulate in Excel.
For example:
dir N:\network_share\*.mp3 >>net_mp3s.txt
dir N:\network_share\*.avi >>net_avi.txt
etc.
Use dir /? at the command line, and it will give you all the options on flags for output. You might want /B to remove headers, /A to get all file attributes, etc.
umichklewis_ac7b91
300 Posts
1
May 26th, 2011 09:00
I don't know about freeware, but take a look at TreeSize Pro from JAM Software. It will accomplish some of that, but it's not free.
Have you considered indexing the drive from a Windows host? Win7 with SMB2 seems to index network shares in a reasonable amount of time; I parsed a 1.6TB share on a VDM in a workday. Subsequent scans took less time, though I never watched it.
You can then use Find in Explorer and get all kinds of data. This is rather simplistic, but certainly free.
Otherwise, it's UNIX find or other Windows scripts.
Karl
Narahari1
2 Intern
•
127 Posts
0
May 26th, 2011 10:00
Thanks Karl.
If I use find in explorer, it displays the mp3 files, but how do I save the output to a spreadsheet? I'm using Windows XP.
DanJost
190 Posts
1
May 26th, 2011 13:00
dir /s /b *.mp3 > somefilenamesomewhere.txt
using > overwrites whereas >> appends.
Your backup software catalogs might help as well in finding "huge" directories. Some (but not all) will show you backup totals per directory as you drill down through the catalog and can help you spot something out of the ordinary.
If these are redirected "my documents" you will want to check for iTunes file formats as well. Been there, done that...
Dan