Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- To: "MLUG Members" <EMAIL:PROTECTED>
- Subject: Re: [MLUG] cp -R --skip [pattern]?
- From: "Mark Rages" <EMAIL:PROTECTED>
- Date: Thu, 3 May 2007 12:23:40 -0500
- Delivery-date: Thu, 03 May 2007 12:24:06 -0500
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z3rsk0p+bBCIBZz3O0xhSW8JgHHCMWtv55sSDY3GkV4YEA4NtTwVXzhXLC9UG75otJ+A167rpvAnH4cHpVBT6w0xuH7+oPxsr290V2fqU8Kam0HzZ1LVx5M2HsgyLA5b/RVJXQWIb5A77VGpvGeKIxUjBAKFyU/CqnuR1iwxoiw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KwF2eT8H9mSlSXOM+hkbSiDaNblFakkOlLMba8IYZBoQyigdRXWxQbkpymGh1jknQ18oT4rjTOvE6VU60rhGfRvA8Dcb/Hs9mtIgifrhxBK7vnLgjTDPADkQOgDsB1a+QdUGMjOFDuBCXkMNCXDUCJjwST87M3CVKMVcf+IN7u0=
- Envelope-to: EMAIL:PROTECTED
- In-reply-to: <EMAIL:PROTECTED>
- References: <EMAIL:PROTECTED> <EMAIL:PROTECTED>
- Reply-to: MLUG Members <EMAIL:PROTECTED>
- Sender: EMAIL:PROTECTED
On 5/3/07, Stephen Montgomery-Smith <EMAIL:PROTECTED> wrote:
Maybe something like this? I haven't tested it, but I would think that
something like this would work.
tar cvf --exclude "*mp3" - directory-to-copy \
| (cd where-you-want-copy; tar xfp -)
You can remove the first "v" if you don't want verbose output.
Yes, that's what I do, but like this:
tar -c --exclude "*mp3" sourcedir | tar -xC destdir
The nice thing about tar is, you can use it in pipes etc.
So if I wanted to copy to my mlug account, I could do this:
tar -c --exclude "*mp3" sourcedir | ssh mlug.missouri.edu tar -xC destdir
Regards,
Mark
EMAIL:PROTECTED
--
Mark Rages, Engineer
Midwest Telecine LLC
EMAIL:PROTECTED
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members