D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

RE: [LUG] chown....




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If you have ~ 20,000 files in the directory (bash will only 
allow up to x 
[4096?] arguments. * might not work in that case either though.)

Once upon a time... I went away for work last week and, I leave my
router on with about 30 bounced mails generated cause I was tesing a
new exim system - which were designed to bounce, generate an email
which bounced, etc.  I forgot about it though and came back to find,
erm.. Lots of emails (which I couldn't delete), neither ls, * or any
shell expansion works after certain ammount, depending on version of
lummox, and bash compile settings.

The quickest/only way was to write a mini-mini perl script to
scan/opendir() and move them.

There is a faster way around it, but I can't seem to pull it out of
the dark realms of the back of my mind ;)

Theo


--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the 
message body to unsubscribe.




-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4
Comment: Current PGP Key from http://www.crazygreek.co.uk/pgpkey.txt

iQA/AwUBPFZF4+OPAq8KU5+mEQIevQCeIyO4sbxJGGyWqYNqN95nnJcFiX0AniWc
ANn3fkmVriD/w0ifUo5HeHPa
=saI0
-----END PGP SIGNATURE-----



--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly