The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mutt Folder List 1.5.17-20080412 (Default branch) iBot Software Releases - RSS News 0 04-14-2008 02:50 PM
Fastest way for searching the file vaibhavbhat UNIX for Advanced & Expert Users 3 03-10-2008 10:57 AM
trying to list everything in a folder except . and .. dkieran Shell Programming and Scripting 2 05-16-2007 08:09 PM
Command to list samba shared folder in linux bache_gowda UNIX for Dummies Questions & Answers 0 04-27-2005 09:05 AM
Find wildcard .shtml files in wildcard directories and removing them- How's it done? Neko UNIX for Dummies Questions & Answers 1 06-27-2001 10:06 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 07-09-2008
jerardfjay jerardfjay is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 146
Fastest way to list a file in a folder containing 800,000 files using wildcard

Hi,

I have a directory with possibly around 800,000 files in it.
What is the fastest way to list file(s) in this directory with a wildcard.

for example would


Code:
ls -1 *.abcdefg.Z

or


Code:
find . -name "*.abcdefg.Z"


be the fastest way to find all of the files that end with .abcdefg.Z in this directory with 800,000 files in it.
Any help or sugestion would be greatly appreciated.

Thx
Jerardfjay

Last edited by jerardfjay; 07-09-2008 at 01:07 PM.. Reason: better description of issue
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0