Ich sende hier mal so n kleines Servicemenu zum Erstellen von TAR Archiven, das ich eben gefunden habe.
Das kannst Du ja entsprechend noch anpassen.


Gru�
Patrick

Michael Bischof schrieb:
Am Freitag, 14. Januar 2005 14:54 schrieb Patrick Schulz:

Hi Michael,

ich wei� jetzt nicht ob das die allerwelts L�sung ist, aber ich w�rde es
mal mit einem Link in dem angegebenen Verzeichnis versuchen.
Also an die Stelle wo KDE unzip vermutet.
Toller w�re es nat�rlich, wenn ausf�hrbare Dateien direkt in den
Umgebungsvariablen gesucht w�rden
Aber mein Gewissen sagt mir, it's not a bug - it's a feature...



Danke f�r die flotte Antwort ! Der Link w�re zu /usrs/bin/unzip. Habe ich gemacht, geht dennoch nicht. Hmmmh...
Mist, dabei schildert die angegebene Quelle das als sooo einfach !


Gruss,

Michael Bischof

# tar service menu to provide compressed or uncompressed tar files
# Author: Blair Craft ([EMAIL PROTECTED])
# License: GPL 2.0

[Desktop Entry]
ServiceTypes=all/allfiles,inode/directory
Actions=Tar;TarGzip;TarBzip;TarOtherDir;TarGzipOtherDir;TarBzipOtherDir
X-KDE-Submenu=Create Tar

[Desktop Action Tar]
Name=create tar file
Icon=karchiver
Exec=(cd %d &&  tar chf %n.tar %n && kdialog --msgbox "Task Complete" || 
kdialog --msgbox "Task did not complete successfully")

[Desktop Action TarGzip]
Name=create gzipped tar file
Icon=karchiver
Exec=(cd %d && tar chzf %n.tar.gz %n && kdialog --msgbox "Task Complete" || 
kdialog --msgbox "Task did not complete successfully")

[Desktop Action TarBzip]
Name=create bzipped tar file
Icon=karchiver
Exec=(cd %d && tar chjf %n.tar.bz2 %n && kdialog --msgbox "Task Complete" || 
kdialog --msgbox "Task did not complete successfully")

[Desktop Action TarOtherDir]
Name=create tar file in other directory
Icon=karchiver
Exec=/bin/bash -c "(cd %d; tar cfh `kdialog --inputbox "Destination 
directory"`/%n.tar %n && kdialog --msgbox \"Task Complete\" || kdialog --msgbox 
\"Task did not complete successfully\")"

[Desktop Action TarGzipOtherDir]
Name=create gzipped tar file in other directory
Icon=karchiver
Exec=/bin/bash -c "(cd %d; tar cfh - %n |gzip -c - > `kdialog --inputbox 
"Destination directory"`/%n.tar.gz && kdialog --msgbox \"Task Complete\" || 
kdialog --msgbox \"Task did not complete successfully\")"

[Desktop Action TarBzipOtherDir]
Name=create bzipped tar file in other directory
Icon=karchiver
Exec=/bin/bash -c "(cd %d; tar cfh - %n |bzip2 -c - > `kdialog --inputbox 
"Destination directory"`/%n.tar.bz2 && kdialog --msgbox \"Task Complete\" || 
kdialog --msgbox \"Task did not complete successfully\")"
begin:vcard
fn:Patrick Schulz
n:Schulz;Patrick
org:PMG computer to plate GmbH;Development
adr:;;Gutenbergstr. 2-4;Kriftel;Hesen;65830;Germany
email;internet:[EMAIL PROTECTED]
title:Application Developer
tel;fax:+49 6192 406 670
tel;cell:+49 163 8793 143
x-mozilla-html:FALSE
version:2.1
end:vcard

Antwort per Email an