Giter Club home page Giter Club logo

jackdp / pathlocate Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 5.0 295 KB

A command line utility that allows you to quickly search for files located in directories listed in the PATH environment variable

Home Page: http://www.pazera-software.com/products/path-locate/

License: Other

Batchfile 0.10% HTML 9.15% CSS 2.80% Pascal 81.03% PHP 6.93%
fpc free-pascal freepascal lazarus path-locate path codetyphon code-typhon command-line commandline

pathlocate's Introduction

PathLocate

Overview

PathLocate is a small command line utility that allows you to quickly search for files located in directories listed in the PATH environment variable.

The program allows you to enter many names/masks of files on one command line, limit the number of returned files, ignore or take into account the size of characters, calculate CRC32 checksums, SHA-1 and SHA-2 hashes, display the last modification time of files, their size, VersionInfo block from executable files (on Windows) and other.

Download

Source: https://github.com/jackdp/PathLocate

Binary (Windows 32-bit, Windows 64-bit, Linux 32-bit, Linux 64-bit): http://www.pazera-software.com/products/path-locate/

Documentation

Full documentation available at https://www.pazera-software.com/doc/path-locate/help.html

Compilation

Build and tested on CodeTyphon 6.40 with FPC 3.1.1

To compile, you need:

How to build:

  1. Open src\PathLocate.ctpr file with CodeTyphon.
  2. Set build mode for your destination system.
    Select menu Project -> Project Options... A new window will appear. In the tree view (on the left), select Compiler Options. At the top of this window you can select the build mode from the dropdown list. Choose: Release Win32, Release Win64, Release Lin32 or Release Lin64.
  3. Build project (menu Run->Build).

Changelog / Releases

Version 1.1 (2018.03.19)

  • Compilation in a new version of the CodeTyphon (6.40).
  • [+] Calculation of MD5, SHA-1 and SHA-2-256 checksums. Switches: --md5 --sha1 --sha2
  • [+] Highlighting of executable files: EXE, DLL, BAT, CMD, BPL (on Windows), and SH, SO (on Linux). Switches: -he -hd -hb -hc -hp -hs -hl
  • [+] Highlighting the text provided by the user. Switches: -hus -hus2
  • [+] Sorting. Switches: -sb -sd
  • [+] Displaying the list of directories specified in the PATH environment variable. Switch -ld
  • [+] Long format switch: --long.
  • [+] The user can define the text used to separate categories of information. Switches: -sl -sdt.
  • [+] Displaying more detailed information about errors. Switch -err
  • [+] Displaying the creation (Windows only), last write and last access time of found files. Switches: -dc -dw -da
  • [+] The ability to display file attributes on Windows system. Switch: -a
  • [+] Displaying the short version info (and nothing more). It can be useful for detecting the PathLocate version from batch files. Switch -vs
  • [+] [Linux] Detecting if the output is a character device (terminal, printer). If so, the PathLocate will use ANSI escape codes to display colors. If not, ANSI codes will not be generated by the program. As a result, the output data stream can be redirected to a file/pipe, and it will not be "cluttered" with unnecessary data.

Version 1.0 (2018.01.25)
Initial release.

Note

This program was made for my private use, but it may also be useful to someone.

PathLocate can be useful for administrators to quickly locate executable files, check their version, as well as in batch files for making decisions in the absence of any files necessary for the proper operation of the script.

pathlocate's People

Contributors

jackdp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.