Peter Hardy <[EMAIL PROTECTED]> writes:

> Hooray for Friday afternoon scripting fun!
>
> This isn't pretty, but will probably work[*]. Except on files with spaces.

Here's my very minor contribution. If you change

> for file in `ls`; do

to

for file in *; do

It should handle spaces

>  date=`ls -l --time-style=long-iso "$file" | awk '{ print "$6 $7" }'

I don't see a closing back tick.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to