Well, that depends on what we're talking about. In a script context,
you could have an "ignore list", and by checking if "folder1" is in
it, the script would that folder and move on.

(insert your favorite shell hack here)

But strictly as a command, you have regexes available. By copying
"ma*" recursively to, say, "/tmp", you'll copy folders like "man",
"mate", or whatever else starts with "ma".


On 5/27/05, Simon <[EMAIL PROTECTED]> wrote:
> HI all,
> Is it possible to have cp skip some directories when using cp -R?
> 
> ------------------------------------
> OLMC
> Simon Bryan
> IT Manager
> [EMAIL PROTECTED]
> LMB 14
> North Parramatta
> tel: 96833300
> fax: 98901466
> mobile: 0414238002
> ------------------------------------
> 
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 


-- 
Julio C. Ody
http://rootshell.be/~julioody
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to