title: How to find all .zip files and file size in linux
body: <p>I have <code>2TB</code> of data. I want to list entire <code>.zip</code> and <code>.rar</code> files and files size in the directory and I want to exclude <code>01_Personal</code> Folder directory.</p>
  
  <p>I tried below command but it didn't work out.</p>
  
  <pre><code>find /home -type f ( -name ".zip" -o -name ".rar" ) ! -path "01_Personal Folder*" -print0 | xargs -0 -n1 du -b | sort -n -r &gt; winrar.txt
  </code></pre>
  
  <p>Any other way to find files and file sizes.</p>
  
  <p>Thanks for your help</p>