Skip to content

SmartFire/Knifer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knifer

This toolkit includes a set of tools that can be run from the Windows command-line to simplify and speed up common tasks.

Command List

  • addtext - add text on the beginning of a file
  • base64 - translate string to base64 text
  • cat - show file content
  • checksum - checksum value of a text or file
  • copysame - copy same name files from src to dest
  • count - count number of file types in a folder
  • encode - encode or change the encoding of a file
  • env - show system environments
  • extract - extract regex matches to files
  • find - find a file in directory
  • grep - search a regex pattern in a file
  • grepcopy - search pattern in files then copy to folder
  • head - show the top parts of a file
  • join - join multi-files to a single file
  • kill - terminate a process
  • ls - list contents in directory
  • movedate - move files to file last modified date folder
  • prettifyxml - prettify xml files in folder
  • ps - report processes status
  • rm - remove a file
  • rmdir - remove a directory
  • rename - rename specified files specified format
  • renamem - rename specified medias specified format
  • replace - replace string in place in a file
  • select - select files with specified file type
  • sort - sort lines of text files
  • split - split a file to multi-files
  • tail - show the last parts of a file
  • uniq - remove duplicate lines from a file

Environment Requirement

  • Microsoft .NET Framework 4

Bug tracker

Have a bug? Please create an issue here on GitHub!

Copyright and license

Copyright (c) 2011-2015 Chundong Gao All rights reserved.

Licensed under the BSD License.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

This toolkit includes a set of tools that can be run from the Windows command-line to simplify and speed up common tasks.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%