how to merge sfs files?

Moderators: dimkr, Forum moderators

Post Reply
Phneoix
Posts: 12
Joined: Sun Aug 21, 2022 12:08 pm

how to merge sfs files?

Post by Phneoix »

Hi,
i have created multiple sfs modules for different softwares. I want to merge some of those files. Can anyone point as to how to merge multiple sfs modules in a single file.

Also is it possible to load sfs modules from command line bypassing gui prompt.

Thanks

User avatar
amethyst
Posts: 2357
Joined: Tue Dec 22, 2020 6:35 am
Has thanked: 55 times
Been thanked: 477 times

Re: how to merge sfs files

Post by amethyst »

Phneoix wrote: Thu Mar 16, 2023 10:49 am Hi,
i have created multiple sfs modules for different softwares. I want to merge some of those files. Can anyone point as to how to merge multiple sfs modules in a single file.

Also is it possible to load sfs modules from command line bypassing gui prompt.

Thanks
You can use my sfs merger tool in my nicOS-Utility-Suite. If sfs_load is used, the commandline for loading sfs quietly is as follows: sfs_load -c -q FullPathOfSfs1 sfs2 sfs3 etc.
Example: sfs_load -c -q /mnt/home/1.sfs 2.sfs 3.sfs (you may have to supply the full paths of every sfs you want to load). SFS's must be in either /mnt/home or in the subdirectory of your puppy files otherwise you will still get a prompt.
backi
Posts: 597
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 72 times
Been thanked: 68 times

Re: how to merge sfs files

Post by backi »

@Phneoix

nicOS-Utility-Suite:
viewtopic.php?t=1694

Also another handy Tool for this Kind of Actions:

PaDS 1.1.7 - convert .deb, .pet, .sfs, .tazpkg, .txz, .tar.gz to .sfs (Update/Fix: 2020-10-04)

viewtopic.php?t=933
dimkr
Posts: 2025
Joined: Wed Dec 30, 2020 6:14 pm
Has thanked: 38 times
Been thanked: 930 times

Re: how to merge sfs files

Post by dimkr »

Code: Select all

unsquashfs -d /tmp/a /path/to/a.sfs
unsquashfs -d /tmp/b /path/to/b.sfs
cp -a /tmp/a/* /tmp/b/
mksquashfs /tmp/b /tmp/c.sfs -comp zstd -Xcompression-level 19 -b 256K -no-exports -no-xattrs
sfs_load /tmp/c.sfs
Phneoix
Posts: 12
Joined: Sun Aug 21, 2022 12:08 pm

Re: how to merge sfs files

Post by Phneoix »

Thanks all.
I will give it a try.

Post Reply

Return to “Vanilla Dpup”