Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Try exploiting find(1) with -printf, with formats like:

    find "$@" -printf "%TY %Tm %Td %TT %1y %4m %3n %4U:%-3G %8s  %p\t%l\n"
and flavor the output elements and format to suit. (this sorts by date well, but would do less well on file or symlink names with embedded newlines - swap \0 for \n to wrestle with those.)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: