Skip to main content
1 of 6
smac89
  • 1.7k
  • 1
  • 18
  • 18

Try pipe the output of find to du and specify the --files0-from - flag:

find -type f -mtime +60 -print0 | du -shc --files0-from -

This should give you a grand total at the end

To get just the total, pipe that output to tail -n1:

find -type f -mtime +60 -print0 | du -shc --files0-from - | tail -n1
smac89
  • 1.7k
  • 1
  • 18
  • 18