Hello Sort -h does the job, doesn’t it ? For example :
Du -csh * | sort -h Regards Le lun. 20 sept. 2021 à 19:35, Godfather <mm1mi...@gmail.com> a écrit : > Hello, > > The SORT command in GNU coreutils does not have a sort by DATA SIZE > parameter. > > for example, to sort:- > ----------- > 100.0 Kb > 303 Mb > 4.01 Gb > 20 Mb > ----------- > sorts output will be:- > ----------- > 303 Mb > 100.0 Kb > 20 Mb > 4.01 Gb > ----------- > It would be nice if thier was a parameter that sorted by size so the output > would be 100.0 Kb, 20 Mb, 303 Mb, 4.01 Gb > > Would be great if such a parameter was added. > > Regards. > -- -- Paul Courbis de Bridiers de Villemor