patchSfsWithSfs.sh - merge .sfs files

Miscellaneous tools
Post Reply
Message
Author
gyro
Posts: 1798
Joined: Tue 28 Oct 2008, 21:35
Location: Brisbane, Australia

patchSfsWithSfs.sh - merge .sfs files

#1 Post by gyro »

Yet another utility to merge sfs files.
Warning - do not run this script if the current directory is on a non-Linux partition.

Code: Select all

patchSfsWithSfs.sh my.sfs patch1.sfs patch2.sfs
This results in a new 'my.sfs' file combining the files from all listed sfs files.
The original 'my.sfs' is renamed to 'my.sfs.bak'

Note: The script contains 2 lines for the mksquashfs command.
Use the longer, commented out, line to get the smallest sfs.
I removed some options to improve speed at a loss of a slightly larger sfs file.

Why :
1) I recently discovered the 'unsquashfs -f' option which makes it very simple.
2) Found the mksquashfs options used by woof-ce on puppy_sfs files to make them small.

gyro
Attachments
patchSfsWithSfs.sh.gz
Just 'gunzip' to produce script file.
(345 Bytes) Downloaded 223 times

Post Reply