Socket
Socket
Sign inDemoInstall

scythe

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scythe

Recursive file cleaner


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Scythe

A recursive file and directory cleaner

###Installation:

npm install -g

###Usage:

scythe [options] <directories>

###Options:

-f, --force       force file deletion
-t, --threshold   file deletion threshold  [7d]
-v, --verbose  

Scythe will walk through directories listed (or current directory) and determine if the files are older (last modified) than the threshold, which defaults to 7 days. If -f is set, these files will be deleted. Scythe will also remove sub-directories that are now empty, but will never remove the directory you passed.

Without passing -f, scythe will run in simulation mode, printing to the command prompt which files will be deleted.

###Note:

Scythe's directory listing in simulation mode differs from force mode due to force mode's deletions making subdirectories empty.

###License:

MIT

Build Status

Keywords

FAQs

Package last updated on 17 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc