-
Show disk usage based on file extension / regex
Problem: Show disk usage of a folder and its subfolders based on the file extension / regex. Solution: find . -regex ‚.*\.tif‘ -print0 | du –files0-from=- -ch | tail -1 [via]
Problem: Show disk usage of a folder and its subfolders based on the file extension / regex. Solution: find . -regex ‚.*\.tif‘ -print0 | du –files0-from=- -ch | tail -1 [via]