summary: ls -l replies "Arguments too long."

From: etxfrick@eds.ericsson.se
Date: Mon Apr 13 1992 - 04:03:27 CDT


I got a few replies regarding my question why I got
"Arguments too long" from an 'ls -l *.file'. Most
people suggested a combination of 'find' and some
other commands. The best result was obtained from
a suggestion from Matt Landau (matt@centerline.com)

His solution was to use
% find . -name '*.xyzzy' -print | xargs chmod 0664
which worked great.

Just as a clarification:
I tried to do the 'chmod' in same directory where the
files resides, ie. no long paths, and the longest filename
is approx. 35 character.

Thanx to all who responded!

--Stefan
-----------------------------------------------------------------
! Stefan Frick | Email: etxfrick@eds.ericsson.se !
! Ericsson Telecom | Phone: +46-11-241098 !
! Box 72 | Fax: +46-11-241207 !
! S-601 02 Norrkoping !
! SWEDEN !
-----------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:40 CDT