Hi, find / -name "*.php" Steve D.----- Original Message ----- From: "Jeff Berwick" <mailinglists@xxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx> Sent: Thursday, August 19, 2010 9:34 AM Subject: Re: Unix Command HelpThanks...That is what I have bee doing but, it tells me I have no .php files o my Mac. I know that isn't true as I have the file open in Textedit. However, looking at the file properties doesn't reveal where the file lives so I can't upload it to my server. Can't believe I have forgotten where I put these things. Not sure why the Mac side of things can't see the whole file system so I can get them. I have a feelig the files are somewhere associated with my installation of MAMP but still haven't found the right directory to search.
Thx, Jeff On 2010-08-19, at 10:29 AM, Homme, James wrote:
Hi Jeff, I'm just getting started at this, too, but here's what I think it is. ls -R file.php Where file is your file name. Also, the R is in upper case. Here's how I found how to do this. I went to Google and in the search box, I typed man ls ' Thanks. Jim Jim Homme, Usability Services, Phone: 412-544-1810. Skype: jim.hommeInternal recipients, Read my accessibility blog. Discuss accessibility here. Accessibility Wiki: Breaking news and accessibility advice-----Original Message-----From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Jeff BerwickSent: Thursday, August 19, 2010 9:57 AM To: programmingblind@xxxxxxxxxxxxx Subject: Unix Command Help Hi all, In Windows/DOS, I would use a command like: dir index.php /sTo search my hard drive to find all files named index.php. I am trying to do this on my Mac in terminal as I have misplaced my website files which are in the terminal - not in the Mac file system. Not sure why they don't show up in the Mac side of things but, can anybody provide me a Unix command to perform this type of search?Thx, Jeff __________ View the list's information and change your settings at //www.freelists.org/list/programmingblindThis e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.__________ View the list's information and change your settings at //www.freelists.org/list/programmingblind
__________ View the list's information and change your settings at //www.freelists.org/list/programmingblind __________View the list's information and change your settings at //www.freelists.org/list/programmingblind