Board index SCRIPTS Basic (Small scripts)

How to find all the tar.gz files and its size

Postby a24uall » 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
Arun
WebhostingDevelopment.com
a24uall
Site Admin
 
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Return to Basic (Small scripts)

Who is online

Users browsing this forum: No registered users and 1 guest


cron