du -hs ディレクトリ
or
find 対象ディレクトリ -type f -printf '%s\n' | awk 'BEGIN{sum=0}{sum+=$1}END{print sum}'
Go to list of users who liked
More than 5 years have passed since last update.
du -hs ディレクトリ
or
find 対象ディレクトリ -type f -printf '%s\n' | awk 'BEGIN{sum=0}{sum+=$1}END{print sum}'
Register as a new user and use Qiita more conveniently
Go to list of users who liked