diff options
Diffstat (limited to 'source/installer/sources/initrd/bin/filesize')
-rwxr-xr-x | source/installer/sources/initrd/bin/filesize | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/installer/sources/initrd/bin/filesize b/source/installer/sources/initrd/bin/filesize new file mode 100755 index 00000000..4c537eda --- /dev/null +++ b/source/installer/sources/initrd/bin/filesize @@ -0,0 +1,6 @@ +#!/bin/sh +# +# Print the size of a file, in bytes. +# +SIZE=`ls -l -d -G $1 | cut -b23-32` +echo -n $SIZE |