[Gllug] Mirroring a local dir to ftp (curl?)
John Edwards
john at cornerstonelinux.co.uk
Tue Jun 14 17:18:41 UTC 2005
On Tue, Jun 14, 2005 at 05:53:45PM +0100, Morris, Simon wrote:
> 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
Debian has a couple of programs that you could try:
"ftp-upload" and "wput".
--
#---------------------------------------------------------#
| John Edwards Email: john at cornerstonelinux.co.uk |
#---------------------------------------------------------#
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list