Networker

[Networker] Send mminfo results into split column csv file

2013-07-22 18:22:49
Subject: [Networker] Send mminfo results into split column csv file
From: Vygur <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 22 Jul 2013 15:18:28 -0700
Ahhh! Thank you! I completely forgot about the -xc switch.  It's working now.  
I have it as this now and it works perfectly for what i need it for:

mminfo -avot -t "two years ago" -q type="LTO Ultrium-4" -q "olabel<='06/06/13'" 
-r "volume(25),barcode, type, volaccess(25), volflags, volretent(25), 
olabel(25), labeled(25), mounts, location(25), recycled(15)" -xc, | sort -u | 
grep -e volume -e 6m > ~/output.csv ; uuencode output.csv output.csv | mail 
my@address

+----------------------------------------------------------------------
|This was sent by tigurius AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------