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 Wed 23 May 2018, 08:24
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
muzip (Drag'n'zip)
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13648
Location: Karlsruhe, Germany

PostPosted: Mon 10 Oct 2005, 08:36    Post subject:  muzip (Drag'n'zip)  

muzip is an icon on your desktop.

You can drag files or folders on it from rox-filer.
It extracts: .tgz .tar.gz .zip .gz
Files with other extensions or folders will be packed to FILENAME.tgz in the same folder.
An existing file will be deleted first.



Requires PuppyBasic on Puppys older than 1.0.5
http://www.murga.org/%7Epuppy/download.php?id=901

For me it works ok, but as it is a first release no guarantee that it is bug-free.

Mark
muzip.pup
Description 
pup

 Download 
Filename  muzip.pup 
Filesize  9.82 KB 
Downloaded  548 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
shabri


Joined: 29 Nov 2005
Posts: 28
Location: in a country which near equator line

PostPosted: Fri 02 Dec 2005, 03:30    Post subject:  

thanks MU,






fight software pirates with linux

_________________
patience is pearl
Back to top
View user's profile Send private message 
Alucard_the_dex


Joined: 04 Oct 2005
Posts: 317

PostPosted: Tue 13 Dec 2005, 13:51    Post subject:  

I just Got this and was wondering if there was a way to make it Compress in ZIP format instead of .tgz?
_________________
~Puppy Linux~ Where mans best friend becomes PCs best friend
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13648
Location: Karlsruhe, Germany

PostPosted: Tue 13 Dec 2005, 14:27    Post subject:  

Yes.
type
leafpad /root/my-roxapps/muzip/AppRun

In leafpad: Menu - Options - line numbers

You must replace line 50 - 53
Code:

  shell ("rm -rf " & thefile & ".tgz")
  shell ("cd " & folder & " && tar -czf " & tozip & ".tgz " & tozip)

  finish("tgz was created")


with

Code:

result = xmessage(" -nearmouse -buttons zip,tgz create archive of " & tozip)

if result = "tgz" then
  shell ("rm -f " & thefile & ".tgz")
  shell ("cd " & folder & " && tar -czf " & tozip & ".tgz " & tozip)

  finish("tgz was created")
end if

if result = "zip" then
  shell ("rm -f " & thefile & ".zip")
  shell ("cd " & folder & " && zip -r -9 " & tozip & ".zip " & tozip)

  finish("zip was created")
end if


Mark
Back to top
View user's profile Send private message Visit poster's website 
Alucard_the_dex


Joined: 04 Oct 2005
Posts: 317

PostPosted: Wed 14 Dec 2005, 17:22    Post subject:  

Oh Very Cool man works like a charm this makes things so much simpler thanks manys.
_________________
~Puppy Linux~ Where mans best friend becomes PCs best friend
Back to top
View user's profile Send private message 
aahhaaa


Joined: 06 Oct 2005
Posts: 341
Location: Lower Michigan, North America

PostPosted: Wed 14 Dec 2005, 23:47    Post subject:  

Die kleine und leistungsfähige Markierung erledigen Sie gute Arbeit!

googleGerman Very Happy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0464s ][ Queries: 13 (0.0150s) ][ GZIP on ]