linux/scripts/file-size.sh

5 lines
86 B
Bash
Executable File

#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
set -- $(ls -dn "$1")
printf '%s\n' "$5"