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 Fri 31 Oct 2014, 02:36
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to make PUPzip & Xarchive d&d work with extensions
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
gcav

Joined: 25 May 2012
Posts: 22
Location: Ontario

PostPosted: Wed 11 Jul 2012, 19:02    Post_subject:  How to make PUPzip & Xarchive d&d work with extensions  

I updated Xarchive to use RAR and 7z with its extensions handlers,
but when I Drag and Dropped an archive to PUPzip it always presented
the "Do you want to create or use an existinging" file dialog... Instead
of opening the file.

So,

Open the Pupzip file (/usr/local/bin) and add the terminations .rar .cbr or .7z to the NORMFILE line...


NORMFILE="`echo -n "$PARAMIN" | grep -iv "\\.cbr" | grep -iv "\\.7z" | grep -iv "\\.rar" | grep -iv "\\.tar" | grep -iv "\\.bz" | grep -iv "\\.gz" | grep -iv "\\.rpm" | grep -iv "\\.deb" | grep -iv "\\.zip" | grep -iv "\\.tgz" | grep -iv "\\.txz" | grep -iv "\\.tbz"`"

It would be nice if this got updated automagically when Xarchive detects new extension helpers....

gc
Back to top
View user's profile Send_private_message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Wed 11 Jul 2012, 21:02    Post_subject:  

Sometimes Puppy Linux is a good place to learn how not to learn linux shell syntax .

I was not with Puppy from the beginning, today better it looks like that :

Code:
NORMFILE=`echo -n "$PARAMIN" | grep -ivE '\.cbr$|\.7z$|\.rar$|\.tar$|\.bz2$|\.gz$|\.rpm$|\.deb$|\.tgz$|\.txz$|\.tbz$'`


The wrappers might be found here :

Improving The Wrappers From Xarchive
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0393s ][ Queries: 11 (0.0042s) ][ GZIP on ]