Re: sitecopy to local storage devices
Joe Orton <[email protected]>
| Newsgroups | gmane.comp.web.sitecopy |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Dec 12, 2004 at 05:48:28AM +0800, Dan Jacobson wrote: > Joe> There *is* backend distinction, the backends are completely abstract. > Joe> It sounds like more work on the rshdriver would be needed for your WinCE > Joe> thing, but it wouldn't be much more work, I think. > > If only we were able to specify in sitecopyrc: > #The shell command to copy a file: > pcp %SOURCE :%DESTINATION > #The shell command to delete a file: > prm :%FILE > #The shell command to create a directory: > pmkdir :%DIRECTORY > #The shell command to remove a directory: > prmdir :%DIRECTORY > a whole world of possibilities would then open up, no? > > As I intend to transfer at 19200 baud, elegance can take a back seat. > > Or perhaps I could make four phony commands earlier on $PATH, called > cp, rm, mkdir and rmdir, that do what I want underneath... Or just write a wrapper for the p* tools and configured them explicitly with "rsh" and "rcp" in the config file. That should be easy enough. joe _______________________________________________ sitecopy maillist - [email protected] http://dav.lyra.org/mailman/listinfo/sitecopy