iDSK is a tool to edit DSK (Amstrad CPC disk images) files from the command line. You can add and remove files from your image, but also list BASIC and DAMS source files (which are usually in a tokenized format, not plain ASCII).
iDSK can add and remove AMSDOS headers as needed.
Before compiling iDSK, ensure you have the following installed:
sudo apt update && sudo apt install -y cmake make g++ git
# Clone the repository
git clone https://github.com/cpcsdk/idsk.git
cd idsk
# Create a build directory
mkdir build && cd build
# Run CMake to configure the build
cmake ..
# Compile the project
cmake --build .
# Assuming Homebrew is installed see https://brew.sh
# May require that you install XCode first
# xcode-select --install
brew install cmake make
git clone https://github.com/cpcsdk/idsk.git
cd idsk
# Create a build directory
mkdir build && cd build
# Run CMake to configure the build
cmake ..
# Compile the project
cmake --build .