-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c4b908
commit 51ffae8
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# bullseye | ||
A tool to clean up your target directories as they usually take up a significant amount of disk space. | ||
|
||
## Usage | ||
This tool only takes 2 arguments: | ||
- Directory: The directory whose children are going to be cleaned. | ||
- (Optional) Duration: The minimum time since the last modifcation to the directory for it to be considered dormant. This defaults to 1 week. | ||
|
||
## Duration Format | ||
The duration format is that of the `duration-str` crate. | ||
|
||
| unit | Description | unit list option(one of) | example | | ||
| ---- | ----------- | ------------------------------------------------------------------------------------------------ | ------- | | ||
| y | Year | ["y" , "year" , "Y" , "YEAR" , "Year"] | 1y | | ||
| mon | Month | ["mon" , "MON" , "Month" , "month" , "MONTH"] | 1mon | | ||
| w | Week | ["w" , "W" , "Week" ,"WEEK" , "week"] | 1w | | ||
| d | Day | ["d" , "D" , "Day" , "DAY" , "day"] | 1d | | ||
| h | Hour | ["h" , "H" , "Hour" , "HOUR" , "hour"] | 1h | | ||
| m | Minute | ["m" , "M" , "Minute" , "MINUTE" , "minute" , "min" , "MIN"] | 1m | | ||
| s | Second | ["s" , "S" , "Second" , "SECOND" , "second" , "sec" , "SEC"] | 1s | | ||
| ms | Millisecond | ["ms" , "MS" , "Millisecond" , "MilliSecond" , "MILLISECOND" , "millisecond" , "mSEC"] | 1ms | | ||
| µs | Microsecond | ["µs" , "µS" , "µsecond" , "Microsecond" , "MicroSecond" , "MICROSECOND" , "microsecond" , "µSEC"] | 1µs | | ||
| ns | Nanosecond | ["ns" , "NS" , "Nanosecond" , "NanoSecond" , "NANOSECOND" , "nanosecond" , "nSEC"] | 1ns | |