Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 20 Jan 2020, 06:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Compression 1.9 - Utility program
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
don570


Joined: 10 Mar 2010
Posts: 5453
Location: Ontario

PostPosted: Sat 09 Jun 2012, 15:31    Post subject:  Compression 1.9 - Utility program
Subject description: Added as right-click menu option
 

Compression of a folder .

It works in puppies with Rox 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.
screenshot-compression.png
 Description   
 Filesize   10.18 KB
 Viewed   57 Time(s)

screenshot-compression.png

compression-1.9.pet
Description 
pet

 Download 
Filename  compression-1.9.pet 
Filesize  19.27 KB 
Downloaded  8 Time(s) 

Last edited by don570 on Sat 18 Jan 2020, 14:58; edited 14 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5453
Location: Ontario

PostPosted: 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
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5453
Location: Ontario

PostPosted: 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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4873
Location: Blue Springs, MO

PostPosted: 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)
Code:
yes "string" |prog
(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
View user's profile Send private message Visit poster's website 
vicmz


Joined: 15 Jan 2012
Posts: 1268

PostPosted: 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.
compression-1.4-spanish.pet
Description 
pet

 Download 
Filename  compression-1.4-spanish.pet 
Filesize  4.51 KB 
Downloaded  519 Time(s) 
compression-1.4-spanish.png
 Description   
 Filesize   24.76 KB
 Viewed   1011 Time(s)

compression-1.4-spanish.png


_________________
Puppy Linux en español
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5453
Location: Ontario

PostPosted: 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
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5453
Location: Ontario

PostPosted: 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
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5453
Location: Ontario

PostPosted: 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
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5453
Location: Ontario

PostPosted: Sat 18 Jan 2020, 14:51    Post subject:  

version 1.9

-Should work properly with 7z installed or not....
-32 bit or 64 bit

Download in first post
______________________________
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 1618
Location: The other Mr. 305

PostPosted: Sat 18 Jan 2020, 15:17    Post subject:  

Hi Don,

It would be cool if you had a default "Maximum Compression" button. I'm guessing you know which gives the max compression, of course you do.

Haven't been around much lately; hoping to change that in 2020.

All the best,

Slavvo67
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 5453
Location: Ontario

PostPosted: Sat 18 Jan 2020, 15:52    Post subject:  

I'll test to see if max compression makes any difference.
It would be simple to program and I could add a password.

Quote:
The zip command allows you to specify a compression level using number prefixed with a dash from 0 to 9. The default compression level is -6 . When using -0 , all files will be stored without compression. -9 will force the zip command to use an optimal compression for all files



________________________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0602s ][ Queries: 12 (0.0078s) ][ GZIP on ]