On Sun, 8 Mar 2009, Major Péter wrote:
I would like to list some folders with they block-sizes, but only specific
folders am I interested.
So I would like to use find to list the correct folders for me:
ls `find . -type d -user foo -name "*"`
this is not working because ls can't find folders with spaces in there name,
find uses an implicit "-print" argument, but in this case please look at
find's "-print0" option. This version of the above command should work:
$ find . -type d -user foo -print0 | xargs -0 ls
(-name "*" is redundant, as everything matches)
I'm still not sure what you're referring to by folders with block-sizes?
Would the du command be helpful here?
Cheers,
Phil
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils