Author |
Message |
don570

Joined: 10 Mar 2010 Posts: 5260 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 Carolina which has Thunar as the file manager.
Available download:
http://www.datafilehost.com/d/3a56b906 980kb
EDIT: new version 1.8 has 7z library which is popular on Windows
platform. Also UExtract 2.7 is installed as well for an integrated
solution to compress and decompress.
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.
Last edited by don570 on Sat 04 Jan 2014, 13:10; edited 8 times in total
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5260 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: 5260 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: 4850 Location: Blue Springs, MO
|
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
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
vicmz

Joined: 15 Jan 2012 Posts: 1268
|
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 |
475 Time(s) |
Description |
|
Filesize |
24.76 KB |
Viewed |
923 Time(s) |

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

Joined: 10 Mar 2010 Posts: 5260 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
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5260 Location: Ontario
|
Posted: Thu 23 May 2013, 15:19 Post subject:
|
|
Version 1.6
- I corrected bug ---> if user had typed a bad folder name
no warning would show. Now there will be at least some warning.
- Added the Spanish translation by vicz
-Changed . desktop file for German, Spanish and French names
-Thunar is now properly supported.
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 5260 Location: Ontario
|
Posted: Sat 04 Jan 2014, 13:15 Post subject:
|
|
New version 1.8
New version 1.8 has 7z library which is popular on Windows
platform. Also UExtract 2.7
is installed as well for an integrated
solution to compress and decompress.
It was tested on Precise and Carolina.
Both Rox filer and Thunar were tested.
It should work on most Puppies that Barry Kauler has created.
Gettext --> French German Spanish
_____________________________________
|
Back to top
|
|
 |
|