[Gllug] Mirroring a local dir to ftp (curl?)

Morris, Simon Simon.Morris at cmtww.com
Tue Jun 14 16:53:45 UTC 2005


Hello,

I have a local directory that I'd like to mirror up onto a ftp server as part of a cron script.

Looking at the available tools (The server is OS X) curl seems the best bet, but doesn't seem to do recursive uploads.

So far I've come up with 

find /path/to/dir -exec curl -T {} \;

But its horribly inefficient.

Does anyone have a better idea (I know someone will have) either using curl or another tool.

Thanks

~sm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20050614/3b602b08/attachment.html>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list