[cvsnt] Re: CVS and FTP (excluding directories)
Gerhard Fiedler
lists at connectionbrazil.com
Sat Jan 21 21:11:37 GMT 2006
douglass_davis at earthlink.net wrote:
> I use CVS to keep track of my PHP source for a website. CVS puts a
> "CVS" directory in each dir of the site.
> I don't want to transfer those. Can any one recommend a good FTP client
> that can transfer files and exclude certain directories from being
> tranferred based on their name?
>
> Free is better :) but, i would be willing to buy a good FTP client.
Sounds you would want a script-able solution, like a command line ftp
client. Should be plenty around. (You didn't say what OS you're using, so
don't expect a lot of client suggestions :) You'd write a shell
script/batch file that copies a sandbox tree over ftp to your web server
(excluding all CVS directories).
You could also think about your procedure. Usually I run a local web server
for test purposes from my sandbox, and then the CVS directories don't
bother me at all. Once I'm done testing, I commit -- and this can then go
automatically to a test site on the production server (through server-side
scripts). Or I use the cvs export command to create a clean release code
that I can zip up and send to the client.
Gerhard
More information about the cvsnt
mailing list