support only gnu ls (mac need to install coreutils)