Kyp <k...@stsci.edu> writes:

> Is there a way to get the first X # of files from a dir with lots of
> files, that does not take a long time to run?

Assuming Linux: what does time

 ls thedir | head 

give?

with thedir the name of the actual dir

Also how many is many files?

-- 
John Bokma                                                               j3b

Hacking & Hiking in Mexico -  http://johnbokma.com/
http://castleamber.com/ - Perl & Python Development
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to