How to find all the tar.gz files and its size
Posted: Mon Feb 17, 2014 8:01 am
Below command will list all the tar.gz files and its size.
Code: Select all
find /home/*/ -iname '*.tar.gz' -exec du -sh {} \; > /root/backups_list.txt