TOOMANYFILES(1)

NAME
toomanyfiles: Remove innecesary files or directories with a date and time pattern in the current directory.

SYNOPSIS
toomanyfiles [-h] [--version] (--create_example | --remove | --pretend)
                    [--pattern PATTERN] [--disable_log]
                    [--remove_mode {RemainFirstInMonth,RemainLastInMonth}]
                    [--too_young_to_delete TOO_YOUNG_TO_DELETE]
                    [--max_files_to_store MAX_FILES_TO_STORE]

DESCRIPTION

This app has the following mandatory parameters:

    --create_example

        Create two directories called 'example' and 'example_directories' in the current working directory and fill it with example files with date and time patterns.

    --pretend

        Makes a simulation selecting which files will be deleted when --remove parameter is used.

    --remove

        Deletes files. Be careful, This can't be unmade. Use --pretend before.

With --pretend and --remove you can use this parameters:

    --pattern

        Sets the date and time pattern to search in the current directory filenames. It uses python strftime function format.

    --disable_log

    --remove_mode

    --too_young_to_delete

    --max_files_to_store