| Author |
Message |
don570

Joined: 10 Mar 2010 Posts: 2455 Location: Ontario
|
Posted: Sat 09 Jun 2012, 15:31 Post subject:
Script will compress a folder, decompress various files Subject description: Added as right-click menu option |
|
Compression of a folder and extraction of archive is possible
with this script.
It works in puppies with Rox as the file manager
and it works in Saluki which has Thunar as the file manager.
The big advantage is the right click feature. Just right click
on a folder and choose to compress folder (See image)
The time to compress the folder is an estimate based
on the size of the folder.
The folder that you compress can have a blank space in the name
(See Picture)
The most recent version of gtkdialog is needed for this feature.
The time field will be blank otherwise.
The extraction of a RAR archive requires rar or unrar to be installed.
Pemasu does this automatically in his latest versions
of Exprimo. A nice feature! But you will need to use
the terminal if the RAR archives are password protected.
I noticed that ZIP files that are password protected are unzipped
automatically ----> apparently the password protection
for ZIP files is very weak.
The extraction of a wide variety of formats is possible as
an added feature but pupzip is admittedly better.
 |
| Description |
application to install
|

Download |
| Filename |
compression-1.5.pet |
| Filesize |
4.52 KB |
| Downloaded |
118 Time(s) |
Last edited by don570 on Sat 14 Jul 2012, 13:43; edited 4 times in total
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2455 Location: Ontario
|
Posted: Tue 19 Jun 2012, 16:55 Post subject:
new version 1.3 |
|
New version 1.3-
Changed to a new icon in menu ---> harddrive.png
Since it should work with all Puppies
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2455 Location: Ontario
|
Posted: Thu 28 Jun 2012, 20:16 Post subject:
new version 1.4 |
|
Version 1.4 changed the XZ compression extension
to tar.xz rather than txz on the advice of a Slack expert.
___________________________________________
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Thu 28 Jun 2012, 20:37 Post subject:
|
|
fyi for future development, if you have a prog that prompts you for a password or y/n you can use yes | prog (to always answer y)(to always answer string)or | Code: | echo "username
password" |prog |
(if it asks for username then password)
, but it could as easily be any answer, like: | Code: | echo "y
y
/usr/share/Opera
/usr/lib/mozilla/plugins" | ./Opera-installer | if you wanted to automate an install (btw, those are totally made up examples, I don't even know how Opera installs these days)
-HTH
Brad
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 609
|
Posted: Sat 07 Jul 2012, 22:27 Post subject:
|
|
Thanks for this. For some reason, drag and drop function of XArchive desktop icon doesn't work for me, I drag and drop my files but get an empty window where I must create the archive and add the files manually.
I made a separate Spanish version, so that the symlink appears in Spanish when user right-click, my translation is inside the PET.
| Description |
|

Download |
| Filename |
compression-1.4-spanish.pet |
| Filesize |
4.51 KB |
| Downloaded |
107 Time(s) |
| Description |
|
| Filesize |
24.76 KB |
| Viewed |
239 Time(s) |

|
_________________ OpenboxPlus 1.5|Puppy Linux en español|Wiki en español
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2455 Location: Ontario
|
Posted: Sat 14 Jul 2012, 13:52 Post subject:
New version 1.5 |
|
New version 1.5
I made various changes like
1) new Icon choice for menu
2) Changes inside .desktop file
3) splash screen added when compressing to warn user to wait
4) Changed how gtkdialog version was selected using
Shinobar's method which should be full proof
5) Put in underscore character if folder had whitespace in it's name
6) Removal of final slash character in path if user accidently put
it in
7) A couple of new local messages were added for internationalizing
8 ) A warning if folder empty
I have put this version in my right clicks package
|
|
Back to top
|
|
 |
|