Bocchino, Frank wrote:
> I'm trying to create a report that'll show a directory sorted by
> file size. I thought -S would provide that but it's not working.
What version of ls are you using?
ls --version
What does the --help output show?
ls --help | grep -e -S
I ask because I wonder if you are actually running
that supports it.
> The syntax I'm using is;
> STRQSH CMD('ls -alS > /fbtest/test.txt')
Looks okay to me.
> Is there any way to run a QSH cmd that'll sort by file size?
It works for me.
Worst comes to worst you can always use sort for this.
ls -al | sort -k5,5nr
Bob
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils