Sponsored Content
Full Discussion: Ls -al / du
Top Forums Shell Programming and Scripting Ls -al / du Post 302927894 by reid on Sunday 7th of December 2014 01:18:09 AM
Old 12-07-2014
Another option. I don't know if this works with AIX, but

Code:
du -sh $(find /opt -type f -size +10M) | sort -nr

produces these results (files larger than 10MB):
Code:
 59M	/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports.tar
 26M	/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base.tar
 11M	/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/PortIndex

 
TARDIFF(1)							   User Commands							TARDIFF(1)

NAME
TarDiff - Compare two tarballs and report differences DESCRIPTION
TarDiff compares the contents of two tarballs and reports on any differences found between them. Its use is mainly for release managers who can use it as a QA tool to make sure no files have accidently been left over or were added by mistake. TarDiff supports compressed tar- balls, diff statistics and suppression of GNU autotool changes. SYNOPSIS
tardiff [options] file1.tar file2.tar[.gz/.bz2] OPTIONS
-m, --modified Report on all changed files, including those present in both tarballs -l, --list List all files, even those not changed at all -a, --autoskip Skip files which belong to the GNU autotools (for --modified) -s, --stats Run statistics (diffstat) on all modified files (for --modified) -v, --version Display tardiff version -h, --help Display this help screen SEE ALSO
tar(1), tardy(1) AUTHOR
TarDiff was written by Josef Spillner <josef@coolprojects.org>. This man page was written by Axel Beckert <abe@debian.org> based on help2man(1) output for the Debian Project, but may be used by others. COPYRIGHT
Copyright (C) 2005 Josef Spillner <josef@coolprojects.org> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. TarDiff 0.1 December 2011 TARDIFF(1)
All times are GMT -4. The time now is 02:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy