Kevin Krammer, 2003-Nov-15 18:37 +0100: Content-Description: signed data > On Friday 14 November 2003 22:53, Jeff wrote: > > Is this possible? I've been looking for a way to do this. I'd like > > to be able to select a number of files and do something that makes a > > zip file with all the selected files. > > You can do this with a service menu: > http://developer.kde.org/documentation/tutorials/dot/servicemenus.html > > A simplistic approach looks like this: > [Desktop Entry] > ServiceTypes=all/all > Actions=ZipFiles > > [Desktop Action ZipFiles] > Name=Add files to ZIP archive > Exec=zipfiles %F > > > zipfiles is a script somewhere in the users path and looks like this: > #!/bin/bash > cd $(dirname $1) > for infile in $@; do > zip -r /tmp/tmp.zip $(basename $infile) > /dev/null 2>&1 > done; > > Of course /tmp/tmp.zip is not very sophisticated :) > You could use kdialog --inputbox to ask for a name. > > Cheers, > Kevin
This looks interesting. I'll probably give this a try sometime later. For now, I like using Ark, as Mr. Pye suggested. thanks, jc -- Jeff Coppock Systems Engineer Diggin' Debian Admin and User

