>> I'm very dubious about adding this as an option.
>> Do you really think an option is warranted for this,
>> considering you can already get the desired behavior
>> with a small wrapper, as I demonstrated:
>>     
>
> The wrapper is awkward, but it's better than a new option.
>
> So probably best to do nothing here as you suggest.
>
>   

I know that it easy to use the 'du -a' and pipe the output to a
check if it is a directory. But if you have a lot of files, it
really matters if you touch a files twice.

And this solution does not count the size of directories.

find / -xdev -printf "%k\t%p%y\n" |
sed 's/d$/\//;t; s/.$//;' |
LC_ALL=C sort -rn -k1,1


I agree that a single letter option is maybe not needed, but a
--dir-with-slash would be good.

 Thomas

-- 
Thomas Güttler, http://www.tbz-pariv.de/ 
Bernsdorfer Str. 210-212, 09126 Chemnitz, Tel.: 0371/5347-917
TBZ-PARIV GmbH  Geschäftsführer: Dr. Reiner Wohlgemuth
Sitz der Gesellschaft: Chemnitz Registergericht: Chemnitz HRB 8543



_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to