how to convert pet2sfs?
how to convert pet2sfs?
like the title says. How? The pets are eating my pupsave
http://www.murga-linux.com/puppy/viewto ... 3084595eab
This is just one of them, there are plenty of others.
In short, if you're terminal-happy:
This is just one of them, there are plenty of others.
In short, if you're terminal-happy:
Code: Select all
tar -xvf xxx-yyy.pet
mksquashfs xxx-yyy xxx-yyy.sfs
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]
Hello,
Put the pet in a new directory...
Rename it from *.pet to *.tar.gz
(Where * is the name, just change the extension)
Open a terminal in the directory ( the ` key)
Type in:
In the Terminal type:
Rename the resulting *.sfs to match your Puppy, so the bootmanager sees it...
Put the pet in a new directory...
Rename it from *.pet to *.tar.gz
(Where * is the name, just change the extension)
Open a terminal in the directory ( the ` key)
Type in:
A directory will appear named *tar -xvf *.tar.gz
In the Terminal type:
Where * is the directory name..mksquashfs *.sfs
Rename the resulting *.sfs to match your Puppy, so the bootmanager sees it...
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!
Puppy since 2.15CE...
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!
Puppy since 2.15CE...
install 'rox right clicks'
right click on your pet and select 'extract here'
right click on the resulting directory and select 'create sfs'
done...............
http://murga-linux.com/puppy/viewtopic. ... 545#548545
right click on your pet and select 'extract here'
right click on the resulting directory and select 'create sfs'
done...............
http://murga-linux.com/puppy/viewtopic. ... 545#548545
Spup Frugal HD and USB
Root forever!
Root forever!
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
It is always needed to report the puppy used.
Reason?
Not all puppy's have the functionality DaveS is speaking about.
Reason?
Not all puppy's have the functionality DaveS is speaking about.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
I always use dir2sfs instead of mksquashfs because I'm lazy.
For me, dir2sfs is easier to remember and to write and:
Rolf
For me, dir2sfs is easier to remember and to write and:
Code: Select all
mksquashfs xxx-yyy xxx-yyy.sfs
Code: Select all
dir2sfs xxx-yyy.sfs
Last edited by rhadon on Sat 13 Aug 2011, 09:46, edited 1 time in total.
Ich verwende "frugal", und das ist gut so. :wink:
Raspberry Pi without Puppy? No, thanks.
Raspberry Pi without Puppy? No, thanks.
easypackage
easypackage
(requires Xdialog, dir2pet, dir2sfs)
This script combines your .PETs into a single .PET or .SFS file.
You will be asked to create a .PET file first, then a .SFS file if no .PET was created.
This script takes one argument - the directory containing the .PETs that you want to combine into a single package.
HOWTO:
Save the code below into a file called 'easypackage', then make it executable (right click on it and go to properties, or 'chmod +x easypackage') .. Then copy it to /usr/sbin.
TO USE:
I usually browse to a folder full of pets, and then open a terminal in the current ROX folder with the ` key, then I simply type
notice the . (dot) at the end, means current directory
Anyway... Here the CODE for 'easypackage'
(may work or not on your system)
(requires Xdialog, dir2pet, dir2sfs)
This script combines your .PETs into a single .PET or .SFS file.
You will be asked to create a .PET file first, then a .SFS file if no .PET was created.
This script takes one argument - the directory containing the .PETs that you want to combine into a single package.
HOWTO:
Save the code below into a file called 'easypackage', then make it executable (right click on it and go to properties, or 'chmod +x easypackage') .. Then copy it to /usr/sbin.
TO USE:
I usually browse to a folder full of pets, and then open a terminal in the current ROX folder with the ` key, then I simply type
Code: Select all
easypackage .
Anyway... Here the CODE for 'easypackage'
(may work or not on your system)
Code: Select all
#!/bin/sh
if [ ! $1 ];then
echo "No dir given. Usage: `basename $0` [directory]
Example: `basename $0` $HOME/myfiles
Info:
This script combines your .PETs into a single .PET or .SFS file.
You will be asked to create a .PET file first, then a .SFS file
if no .PET was created. This script takes one argument - the
directory containing the .PETs that you want to combine into
a single package.
"
exit
fi
mkdir $1/pets
mkdir $1/files
for i in "$1/"* ; do # for each file in the given package dir
# get filenames, and extensions, without paths
export fullname=`basename "$i"` # filename and extension
export filename=${fullname%.*} # filename, no extension
export extension=${fullname##*.} # extension only
tar -xzvf "$i" -C "$1/pets"
# copy extracted contents (only the stuff inside the extracted folders) from $workdir into $basedir
cp --preserve=all -f -v -r "$1/pets/$filename/"* "$1/files"
# remove pet.spec files in $basedir
rm -v "$1/files/"*"pet.specs"
done
rm -r -v $1/pets
rmdir $1/pets
REPLY="none"
# ask to create pet
[ -e `which dir2pet` ] && Xdialog --title "Pet Create" --yesno "Do you want to create new pet file of the pets you have extracted?" 0 0 && REPLY=$?
if [ "$REPLY" = 0 ];then
petname=$(Xdialog --title "Name your pet" --stdout --inputbox "Choose a filename for your pet file" 0 0 "name-version.pet")
mv $1/files $1/${petname%.*} # rename dir to $petname, without extension
rxvt -e dir2pet $1/${petname%.*}
else
# ask to make sfs file
[ -e `which dir2sfs` ] && Xdialog --title "SFS Create" --yesno "Do you want to create an sfs file of the pets you have extracted?" 0 0 && REPLY=$?
[ "$REPLY" = 0 ] && rxvt -e dir2sfs $1/files
fi
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
thanks scottman. I will try in my free time
http://www.murga-linux.com/puppy/viewto ... &start=210
i thought this is the same thing as scottman's script, lol.
Thanks for the help!
http://www.murga-linux.com/puppy/viewto ... &start=210
i thought this is the same thing as scottman's script, lol.
Thanks for the help!