Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Excluding a directory with ncftpput



On Wed, 07 Mar 2007 18:21:01 +0900, Dave M G <martin@??>
wrote:

> Searching though the documentation at
> http://www.ncftp.com/ncftp/doc/ncftpput.html returned nothing about
> excluding files or directories.
>
> Is there a way to do that?

Use tar and ssh.

tar czf - --exclude dir_to_exclude your_dir_tree | ssh user@?? "cd wherever; tar xvf -"

--
G. Stewart - godwin.stewart@??

Sign spotted outside a second hand shop:
WE EXCHANGE ANYTHING - BICYCLES, WASHING MACHINES, ETC.
WHY NOT BRING YOUR WIFE ALONG AND GET A WONDERFUL BARGAIN?

Attachment: pgp7g6u2JlXSg.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links