Coder Social home page Coder Social logo

sharpfind's Introduction

SharpFind

Simple c# application to mimic some of the functionality of the linux find command.

  • Lists full path of files
  • Can search by file name/wildcard
  • Can set CPU priority to limit resource usage (in comparison to other processes)
  • Can find files modified in the last n minutes
  • Can find writable files by the current user
  • Identify .NET assemblies

Usage

SharpFind.exe /p:<absolute-or-relative-path> /e:<search-pattern> /c:<cpu-priority> /m:<minutes-since-last-modification> /w

/p:<path> path to search. Relative or absolute is acceptable
/e:<search-pattern> * is wildcard
/c:<cpu-priority> OS CPU priority compared to other proccesses. Valid values are 0-5, 5 being highest priority
/m:<minutes-since-last-modification> Find files modified in the last n minutes
/w Only return files wrtitable by the current user. Will show '[WRITE LOCKED]' for files that are locked for writing.
/n Only return files that are valid .NET assemblies

Example

SharpFind.exe /p:c:\users\bob /e:*lolcats.ext* /c:0 /m:10 /w /n

This will look for all files in c:\users\bob where the file name contains lolcats.ext. It will set CPU priority to 0, thus nearly everything except for other processes set to zero will get priority over SharpFind.exe. It will only return files that have been modified in the last ten minutes and that are writable by the user running SharpFind.exe and that are valid .NET assemblies.

Credits

M. Cory Billington @_th3y

sharpfind's People

Contributors

mcorybillington avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nullxall windsay

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.