I am trying to generate an output file for management that contains neatly formatted information on files residing on a 2000 file server.
I am running cygwin (bash 2.05b.0), on a 2000 pro box.
I have tried a few different things:
and numerous variations, some piping into sort, etc.
the problem is that this doesn't give me quite what I am looking for, but it is close.
Is there an option to print the entire path to each file?
Is there a way to not print the access rights?
Is there a completely simpler way to do this?
Thanks,
Flotsam
I am running cygwin (bash 2.05b.0), on a 2000 pro box.
I have tried a few different things:
Code:
ls -ohRSt1 --color | grep -G '[i]somefileextension[/i]' >outputfile.txt
the problem is that this doesn't give me quite what I am looking for, but it is close.
Is there an option to print the entire path to each file?
Is there a way to not print the access rights?
Is there a completely simpler way to do this?
Thanks,
Flotsam