count file have size in folder linux code example
Example: get the size of files in a directory linux
# Displays all the files and sizes in MB or GB
du -h --max-depth=1
# Displays all the files and sizes in MB or GB
du -h --max-depth=1