Compression of folder with right click

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
don570
Contributor
Contributor
Posts: 99
Joined: 01 Jun 2012, 00:37
Location: Ontario

Compression of folder with right click

Post#1 by don570 » 07 Jun 2012, 00:31

I wrote this script which works with Thunar and Rox file managers
to compress a folder.

Instructions: After install just right click on folder and follow the
SendTo menu. The resulting archive will be saved next to the folder
unless the HOME option is chosen.

Use Squeeze to decompress or the software com decompress various archive
formats.

EDIT: New version 1.2 gives a time estimate
EDIT: New version 1.3 supports two users --> root and the guest
EDIT: New version 1.4 extracts as tar.xz rather than txz
EDIT: New version 1.5 corrects desktop file and adds small features.
http://www.datafilehost.com/download-509314b3.html

Image
Last edited by don570 on 17 Jul 2012, 00:35, edited 2 times in total.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Compression of folder with right click

Post#2 by Ahau » 27 Jun 2012, 02:20

Thanks, don570!

I do like that this supports compressing with xz (which is something the current right click -> archive option through squeeze cannot handle). Would it be possible to change the format to tar.xz rather than txz, however? I wouldn't want to confuse archives with slackware txz packages, which have a specific layout and metadata. Also, it appears you must click on a folder, send to compression, then navigate to another archive in order to decompress, rather than right clicking on an archive and decompressing straight away, is that correct? I think providing support for selecting an archive for decompression directly would really tie this all together, if possible :)

I've been hunting for an alternative to squeeze, as it's been several years since it's been updated :(

Thanks again!
Please take a look at our online documentation, here. Suggestions are welcome!

don570
Contributor
Contributor
Posts: 99
Joined: 01 Jun 2012, 00:37
Location: Ontario

Re: Compression of folder with right click

Post#3 by don570 » 28 Jun 2012, 23:33

tar.xz rather than txz,
Okay , no problem. That will be in version 1.4


I'd like someone to continue to improve Squeeze.

Puppy linux uses either Xarchive or Xarchiver.

An app that I would like ( and can write myself) is
an app to extract the files from a debian package.

It shouldn't be to hard to write since they exist in Puppy linux.

I've already written an app that extracts Puppy packages
which I'm already finding useful. :Yahoo!:

_______________________________________________

Posted after 23 hours 20 minutes 59 seconds:

Posted after 56 seconds:
I made the change .

New version 1.4 compresses a folder as tar.xz rather than txz

______________________________________________

UrUtusUbU
Black ninja
Black ninja
Posts: 73
Joined: 21 Apr 2012, 00:19
Distribution: Hannah Montana Linux
Location: inmygrave

Re: Compression of folder with right click

Post#4 by UrUtusUbU » 03 Jul 2012, 12:12

is it possible to adapt it to decompress?
i lack the ark plugins to decompress here to decompress there and all that :)
sy

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Compression of folder with right click

Post#5 by brokenman » 03 Jul 2012, 14:41

I've already written an app that extracts Puppy packages which I'm already finding useful.
+1

From memory just run: ar x debpackage.deb
Then you can unpack the data file for the goodies.
How do i become super user?
Wear your underpants on the outside and put on a cape.

don570
Contributor
Contributor
Posts: 99
Joined: 01 Jun 2012, 00:37
Location: Ontario

Re: Compression of folder with right click

Post#6 by don570 » 03 Jul 2012, 20:38

I made an app to extract pet packages . I improved it to extract from debian packages as well.
It's very useful in making xzm modules from debian repositories.
http://forum.porteus.org/viewtopic.php? ... 412be83871

______________________________________________________________________

don570
Contributor
Contributor
Posts: 99
Joined: 01 Jun 2012, 00:37
Location: Ontario

Re: Compression of folder with right click

Post#7 by don570 » 17 Jul 2012, 00:36

New version 1.5

-fixes the whitespace in the desktop name

Post Reply