Skip to content
István Kovács edited this page Jan 27, 2025 · 2 revisions

Cleaning up folder and archiving the results

Deletes or archives image files generated during calibration.

Command-line options

You can view the command-line switches with the ppl-clean --help command.

ppl-clean, version 1.2.0
Clean/archive all generated FITS and other files.

Usage: ppl-clean [OPTIONS]... FOLDER_NAME

Mandatory arguments to long options are mandatory for short options too.
  -l,  --lights                 remove FITS files in Light folder too
  -a,  --archive                save result files into the archive folder
       --archive-folder folder  set archive folder instead of the configured one
  -h,  --help                   print this page

The program deletes all files in the specified directory except for raw images and result files. Optionally, it can archive the files before deletion; in that case, the remaining files are stored in an archive file.

The archive file is placed in the folder specified in the configuration file. If no folder is configured, the archive file is created in the directory specified in the command. The archive folder location can be overridden with the --archive-folder option.

Explanation of command-line options:

  • -l, --lights – Deletes FITS images found in the Light folder too.
  • -a, --archive – Archives raw images and result files before deletion.
  • --archive-folder – Specifies the directory for archive files, overriding the configured folder name.
  • -h, --help – Displays help and version information.

Clone this wiki locally