Added cdz check parameter for use in multicd (normal cd, squash cd and cdz).

Consolidated all squash functionality into a binary (squasher)
Updated the 'cd' alias (multicd).
Added -e to ldrc (to edit the user scripts)
This commit is contained in:
Sam Hardeman 2026-03-15 18:52:13 +01:00
parent 83324dd0f7
commit 10d81b7e5b
8 changed files with 288 additions and 271 deletions

View file

@ -45,11 +45,13 @@ These are the included binaries and utilities:
NO_ARCHIVEMOUNT=1. The standard script supports zip,
tarballs, and rar archives. We recommend relying on
archivemount` if you have it installed.
- SquashFS tools (mount/umount/make/destroy-squash-image):
Use "--check" to only check if a file is an archive.
It returns 0 if it is, 1 otherwise.
- SquashFS tools (squasher):
These convenient set of tools allow you to easily create
XZ-compressed SquashFS images from existing folders to save
disk space. The resulting folder is still writable since it is
mounted using an 'overlay' system. You can use 'make-squash-image'
mounted using an 'overlay' system. You can use 'squasher make'
to compresses an existing folder. These folders are automatically
mounted when you use 'cd' to navigate to them (via an alias).
When using 'make-squash-image' on an already mounted folder, it will
@ -57,12 +59,12 @@ These are the included binaries and utilities:
SystemD service to auto-mount, however, you cam easily add auto-mount
as a cron job. Here is a list of tools, they all take the same
folder argument:
> make-squash-image: Converts the folder into a hidden image
> squasher make: Converts the folder into a hidden image
on the same disk as the folder.
> mount-squash-image: Sets up a mount for the XZ image alongside
> squasher mount: Sets up a mount for the XZ image alongside
directories for changes
> umount-squash-image: Self-explanatory.
> destroy-squash-image: Extracts the image and essentially reverts
> squasher umount: Self-explanatory.
> squasher destroy: Extracts the image and essentially reverts
everything. File changes are kept, however.
- editx:
Uses your standard CLI editor to create/modify a