Skip to content

nbautoexport clean

nbautoexport clean --help
Usage: nbautoexport clean [OPTIONS] DIRECTORY

  (EXPERIMENTAL) Remove subfolders/files not matching .nbautoexport
  configuration and existing notebooks.

  Known limitations: - Not able to correctly handle additional intended
  files, such as image assets or   non-notebook-related files.

Arguments:
  DIRECTORY  Directory to clean. Must have a .nbautoexport config file.
             [required]


Options:
  -e, --exclude TEXT  Glob-style patterns that designate files to exclude from
                      deletion. Combined with any patterns specified in
                      .nbautoexport config file.  [default: ]

  -y, --yes           Assume 'yes' answer to confirmation prompt to delete
                      files.  [default: False]

  --dry-run           Show files that would be removed, without actually
                      removing.  [default: False]

  --help              Show this message and exit.