Created
February 8, 2026 07:17
-
-
Save jimdiroffii/91d211891945fcae56642ac4615c8e08 to your computer and use it in GitHub Desktop.
Verify the size and file count of a directory, useful for quick comparison after a copy/sync operation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # size | |
| du -sb ~/folder | |
| # file count | |
| find ~/folder -type f | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment