Bear in mind, too, that you'd use forward slashes not backslashes. Also, ~ 
denotes the home directory. 
--
Buddy Brannan, KB5ELV - Erie, PA
Phone: (814) 860-3194 or 888-75-BUDDY



On Sep 25, 2012, at 11:58 AM, Chris Blouch <[email protected]> wrote:

> A path or a pattern match? For example, to list all the pdf files in your 
> current directory you would do
> 
> ls *.pdf
> 
> where * is a wildcard that matches 0 or more letters. The path is where the 
> files live, so to list all the pdf files in your documents folder you would do
> 
> ls ~/Documents/*.pdf
> 
> The ~ gets converted by the shell to be your login account location. So for 
> me it gets turned into
> 
> ls /users/cblouch/Documents/*.pdf
> 
> so the ~ can save a lot of typing.
> 
> CB
> 
> On 9/25/12 11:41 AM, Annie Skov Nielsen wrote:
>> Hi.
>> 
>> I will have to write a path in terminal, but how do I do that. Which format 
>> to write paths in. Please show me an example.
>> 
>> If I want to do a speciffic task for everything in this folder with a given 
>> nickname that could e.g. be .mobi, how can I do that. I mean which command 
>> to use before the dot in windows it is *., but how is it on the mac?
>> 
>> Best regards Annie.
>> 
> 
> -- 
> ¯\_(ツ)_/¯
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/macvisionaries?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to