[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backup script



On Wed, 10 Mar 2004 11:06:42 +0200
Alexandros Papadopoulos <apapadop+debianisp@cmu.edu> wrote:

> On Wednesday 10 March 2004 09:29, Craig Schneider wrote:
> <snip>
> > Just battling to use awk to extract the last for collumns.
> >
> > -rwxrwxr-x   1 root     root          [ 234 Mar 10 06:38 backup ]
> >
> > Any help would be greatly appreciated. Shell scripting is definitely
> > not one of my strong points.

try this : 

ls -l | awk -F"	" '{print $6, $7, $8, $9, $10}' 




-- 

Konstantin Kostadinov
   	------------------------------------------------------------
	Public PGP : http://www.fadata.bg/pgp/konstantinpgp.asc
-----------------------------------------------------------

It may or may not be worthwhile, but it still has to be done.



Reply to: