-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

Extract archive

   1.11  

KDE Service Menu

Score 61%
Extract archive
zoom


Extract archive
zoom


Link:  http://
Downloads:  2232
Submitted:  May 13 2007
Updated:  May 15 2007

Description:

Extract any archive file that ark is capable to read + ACE files.


You can chose to extract here, or in a subdirectory. In that case, it asks you the name of the subdirectory where you want to extract, and suggests you the archive name by default.

To install, simply extract, and move the 2 files in ~/.kde/share/apps/konqueror/servicemenus

It's highly recommended to download the latest version of unace on www.winace.com and to run this command line in the unace directory location :
sudo mv unace /usr/bin/unace
More informations : https://help.ubuntu.com/community/FileCompression#head-033d70db4563be031697f1dc5bfef07586805826

It looks like ark kde integration, but works for all archive file types, including ace. And it's easier to change the subdirectory name.

If you want translation to be added, post me comments.

Enjoy !




Changelog:

1.11 RELEASE
======================================

001 ==> thanks to shirka, extract archive path is now "test" for an "test.tar.bz2" file
002 ==> Name that appears in the menu is now "Extract archive" as suggested by dovidhalevi to differentiate with ark




LicenseGPL
(extract_archive)
Send to a friend
Subscribe
Other  Content  from Topazz
Report inappropriate content



-
.

 Small improvement

 
 by shirka on: May 14 2007
 
Score 50%

Hi,

This patch for extract archive to path like this:
"test.tar.bz2" to "test" dir
Without this patch:
"test.tar.bz2" to "test.tar" dir

Bye.

--- extract_archive-old.sh 2007-05-13 19:07:04.000000000 -0300
+++ extract_archive-new.sh 2007-05-14 08:23:00.000000000 -0300
@@ -11,6 +11,14 @@
ext=${nameext##*.}
ext=`echo $ext | tr -s A-Z a-z` # in case extension is .ACE

+nameext2=${nameext%.*}
+ext2=${nameext2##*.}
+ext2=`echo $ext2 | tr -s A-Z a-z`
+if [ $ext2 = "tar" ]
+then
+ nameext=$nameext2
+fi
+
if [ $option = "-here" ];
then
dir_to_extract=$directory;


Reply to this

-

 Re: Small improvemen

 
 by Topazz on: May 14 2007
 
Score 50%

Thanks very much. Works perfectly. It's now included in the script v1.11


Reply to this

-

 I have two of them

 
 by dovidhalevi on: May 14 2007
 
Score 50%

One with submenus:
extract to ...
extract here
no icon

One with submenus
extract to ...
extract to <filenamed directory>
extract here
with icon.

Only one copy of the shell and desktop file in the $KDEDIR/share/apps/konqueror/servicemenus

No extra copy in the ~/.kde ...


Reply to this

-

 Re: I have two of th

 
 by Topazz on: May 14 2007
 
Score 50%

The other submenu is the ark one.
I've changed the name to "Extract archive" to differentiate.
Read the description to see what's different from the ark menu.
If you want to desactivate ark menu, open ark, go into configuration -> General and desactivate the konqueror integration.
But it can be useful to keep it if you want to compress using ark in konqueror.


Reply to this

-

 Re: Re: I have two of th

 
 by dovidhalevi on: May 15 2007
 
Score 50%

But they call theirs "extract archive"

I installed the latest. Did not seem to change anything.


Reply to this

-

 Re: Re: Re: I have t

 
 by Topazz on: May 15 2007
 
Score 50%

I have changed the screenshot to show you wich submenu concern this service menu.
You should have only one "extract archive" submenu.
You can send me your screenshot so that I can understand better your problem :
mfaya (at) free (dot) fr


Reply to this

-

 Re: Re: Re: Re: I have t

 
 by dovidhalevi on: May 16 2007
 
Score 50%

This one in your screenshot has the two alternatives. The second one "extract" has three. I thought this was in fact yours (because of the patch for the filename.tar....


Reply to this

-

 Finally Tried Yours

 
 by dovidhalevi on: May 17 2007
 
Score 50%

I copied the two files to the main $KDEDIR/share/apps .....
I have no such items in my
~/.kde/share/apps....

However, the thing is looking to the .kde subdirectory for the script.

So I guess this is a bug :-)


Reply to this

-

 Re: Finally Tried Yo

 
 by Topazz on: May 19 2007
 
Score 50%

Sorry, I realy don't understand what you meen.
Could you send me a screenshot on my mail ?
Thanks in advance


Reply to this

-

 Re: Re: Finally Tried Yo

 
 by dovidhalevi on: May 20 2007
 
Score 50%

I do not have a handy screengrabber. However, the error messages was that it could not find ~/.kde/share .... extract_archive.sh

I did not place either file there. Both are on my /opt/kdedir/share ....


Reply to this

-
.

 Improvement too :)

 
 by nitio on: Aug 28 2007
 
Score 50%

I always enjoyed the option to extract to a subdirectory. Makes it easier to avoid compressed files that don't have subdirectories. (Sorry about the patch for the .desktop - it seems more like the whole file ;)

Quote:
--- extract_archive.sh 2007-05-14 15:42:04.000000000 -0300
+++ extract_archive-new.sh 2007-08-27 22:34:18.000000000 -0300
@@ -23,6 +23,9 @@
if [ $option = "-here" ];
then
dir_to_extract=$directory;
+elif [ $option = "-subdir" ];
+then
+ dir_to_extract="$directory/${nameext%.*}"
else
dir_to_extract="$directory/`kdialog --title "Extract to..." --inputbox "In wich sub directory you want to extract ?" "${nameext%.*}"`";
fi


Quote:
--- extract_archive.desktop 2007-05-14 15:42:35.000000000 -0300
+++ extract_archive-new.desktop 2007-08-27 22:34:27.000000000 -0300
@@ -2,7 +2,7 @@
Encoding=UTF-8
Version=1.11
ServiceTypes=application/x-gzip,application/x-lha,application/x-tar,application/x-tgz,application/x-tbz,application/x-zip,application/x-bzip,application/x-tzo,application/x-lzop,application/x-rar,application/x-zoo,application/x-tarz,application/x-archive,application/x-bzip2,application/x-jar,application/x-deb,application/x-rar-compressed,application/x-ace
-Actions=extract_archive_to;extract_archive_here
+Actions=extract_archive_to;extract_archive_sub;extract_archive_here
X-KDE-Priority=TopLevel
X-KDE-Submenu=Extract archive
X-KDE-Submenu[fr]=Extraire l'archive
@@ -16,6 +16,11 @@
Exec=~/.kde/share/apps/konqueror/servicemenus/extract_archive.sh "%n" "%u" "%d"
Icon=ark

+[Desktop Action extract_archive_sub]
+Name=Extract to subdirectory
+Exec=~/.kde/share/apps/konqueror/servicemenus/extract_archive.sh "%n" "%u" "%d" -subdir
+Icon=ark
+
[Desktop Action extract_archive_here]
Name=Extract here
Name[fr]=Extraire ici


Reply to this

-

 Works great

 
 by boralyl on: Aug 31 2007
 
Score 50%

Thanks, I didn't like how Dolphin had an extract to menu for tar.gz, but not tar, which is what most of my archives are. Changed the konqueror directory to dolphin and it works splendid.


Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team