[maemo-developers] Proposal: Sharing plugin to call command-line apps (e.g. photo sharing via SCP)
From: Qole qole.tablet at gmail.comDate: Tue Jan 5 01:14:03 EET 2010
- Previous message: Proposal: Sharing plugin to call command-line apps (e.g. photo sharing via SCP)
- Next message: Proposal: Sharing plugin to call command-line apps (e.g. photo sharing via SCP)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thomas, What a MARVELOUS idea! If you coupled this with an "Advanced Mode" in the File manager that let you show all files and browse all directories, it would be The Best Idea Evar! On Sat, Jan 2, 2010 at 7:53 AM, Thomas Perl <th.perl at gmail.com> wrote: > Hello! > > I've been thinking of creating a "SCP" sharing plugin for uploading > photos to a web server, but then thought that a "generic" command-line > sharing plugin would be even more universal and useful. I'm thinking > of a plugin that has a single-line configuration entry that contains > the command line will be called by the shell and the filename of the > to-be-shared file passed in as parameter (%s), so if I want to publish > photos on a server via SCP, I set up SSH public key authentication the > normal way and then create a new account with the following command > line: > > scp %s user at server.example.org:~/photo-uploads/ > > The command will be called for each file that is to be shared, and the > success or failure of the operation is determined by the return value > of the application. The sharing framework support multiple "acounts" > per "service", so our "service" (Command line) can then have multiple > "accounts" (e.g. one for copying files via SCP to server A, one for > copying files via FTP to server B, ...) for different purposes. > > Writing a shell script or utility that takes one media file to upload > as argument is much easier than writing a sharing plugin for every > service. Of course, it's not as user-friendly, but power users can do > lots of interesting things without much effort, and we can provide > "template command lines" for use by normal users (e.g. SCP, FTP, woof, > copy to "manual upload queue" folder in MyDocs, ...). > > Is anyone interested in collaborating on such a plugin, or does such a > thing already exist? > > Thanks, > Thomas > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -- enthusiast, n. "One whose mind is wholly possessed and heated by what engages it; one who is influenced by a peculiar fervor of mind; an ardent and imaginative person." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20100104/d4b9d878/attachment.htm
- Previous message: Proposal: Sharing plugin to call command-line apps (e.g. photo sharing via SCP)
- Next message: Proposal: Sharing plugin to call command-line apps (e.g. photo sharing via SCP)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]