How to make PUPzip & Xarchive d&d work with extensions

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
User avatar
gcav
Posts: 104
Joined: Fri 25 May 2012, 04:12
Location: Ontario

How to make PUPzip & Xarchive d&d work with extensions

#1 Post by gcav »

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

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#2 Post by Karl Godt »

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: Select all

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

Post Reply