Skip to content

Remove all files and directories not in an exception list (in a specfic directory).

Notifications You must be signed in to change notification settings

mozilla-platform-ops/directory_cleaner

 
 

Repository files navigation

directory_cleaner

Test Status Coverage Status

overview

Remove all files and directories not in an exception list (in a specfic directory).

  • Files under an excepted directory will also be excluded from deletion.

usage

# basic usage
directory_cleaner -c config.toml directory_to_clean

# see help output for complete options
directory_cleaner -h

building

poetry build
# output will be in /dist

installation

# build package (see above)

# install
pip3 install directory_cleaner-0.1.0-py3-none-any.whl

TODOs

About

Remove all files and directories not in an exception list (in a specfic directory).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 91.5%
  • Shell 8.5%