Skip to content

Lendemor/room-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Remember when your mom used to always asked you to clean your room?

She probably never asked you to clean your Download folder, but you should still do it"

A small and very simple utility to automatically clean up your folders with some simple rules.

Usage

Write in cleaners.yaml the rule you want

cleaner_name:
  path: "/path/to/folder/that/need/cleaning"
  rules:
    "Target1":
      - "pattern1"
      - "pattern2"
    "Target2":
      - "pattern3"

then call the cleaner:

python client.py clean cleaner_name

Warning: When using the same pattern for differents targets, the first occurence of the pattern will sort all matching files in its target.

Following occurences will not match any file and thus do nothing.

TODO:

  • add poetry build
  • implement verify command

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages