The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Auto copy for files from folder to folder upon instant writing Bashar UNIX for Advanced & Expert Users 2 08-21-2008 11:44 AM
Have a basic 'for i in cat list' - Trying to get i to be set to a name with a space littlefrog Shell Programming and Scripting 2 12-11-2007 03:06 PM
How to learn the number of files under a particular folder, containing subfolders cy163 UNIX for Dummies Questions & Answers 5 09-01-2007 07:55 AM
trying to list everything in a folder except . and .. dkieran Shell Programming and Scripting 2 05-16-2007 04:09 PM
rename files in subfolders umen UNIX for Dummies Questions & Answers 0 09-19-2005 05:19 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-28-2007
AtomicPenguin
Guest
 

Posts: n/a
Basic Q: getting list of all files of type within folder & subfolders

A painfully rudimentary UNIX question for somebody. I've been puzzling over this for the last hour but can't find the right command.

I'm simply trying to get a list of all files - and their full paths - within a folder & subfolders which have extension .php and .js. That's it! No amount of fumbling around with "ls" has had any success.

Any advice?
Reply With Quote
Forum Sponsor
  #2  
Old 07-28-2007
sad_angle's Avatar
Registered User
 

Join Date: Jun 2001
Location: Madison, WI
Posts: 72
Basic Q: getting list of all files of type within folder & subfolders

I can do it in Linux, using slocate - Security Enhanced version of GNU Locate

#updatedb
#locate .js
#locate .php

Last edited by sad_angle; 07-28-2007 at 03:56 AM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0