o
odinpkg.dev
packages / tool / dof

dof

97bbcdetool

A simple CLI program to Delete Old FIles (DOF)

BSD-2-Clause · updated 2 years ago

dof - Deletes Old Files

dof is a command line application that Deletes Old Files.

Usage

To use dof you must pass it a folder and a time duration.

dof 10m Downloads

The above example will delete any files that are older than 10 seconds in the "Downloads" folder, including the "Downloads" folder if it's modification time is also older than 10 seconds ago and there are no other files in the directory.

Flags

dof has a couple of flags they are listed below:

    -quiet/--quiet     Don't print summary when the program finishes
    -version/--version Print version information
    -help/--help       Print help information