Skip to content

Utility for cleaning paths of old files and empty folders

Notifications You must be signed in to change notification settings

Shawboy278/PathCleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PathCleaner

This is a rewrite of the original that was implemented in Ruby and never released publicly.

I wrote this as a project as a way to dip my toes into TypeScript. Being that, my coding patterns may not follow what's typical of JS/TS.

Build

yarn build

Test

yarn test

Run

Flag Description
-p, --path The path to clean [Required]
-a, --age The maximum age of a file in days [Default = 15]
-s, --source Where the age is obtained from [Default = LastModifiedTime]
yarn start --path ~/temp [--age 90] [--source LastModifiedTime]

About

Utility for cleaning paths of old files and empty folders

Resources

Stars

Watchers

Forks

Packages

No packages published