The following quick script can be used to parse a BackupPC transfer log file and sort the list of files transferred in descending order by size.
/backuppc/pc/pc.example.com-> BackupPC_zcat XferLOG.34.z | sed "s/create d/created/" | awk '{print $4, "\t", $5}' | grep -vE 'bytes$' | sort -rn | less
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment