rfslog

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README ยถ

File Change Log

Records file changes in a specific directory.

Getting Started

rfslog --watch .

๐Ÿ›  Build from Source

All required dependencies for compilation are already packaged as part of the Go project. It is recommended to use a modern version of the Go toolchain and no longer store the code repository in the old GOPATH.

๐Ÿงฐ Go Installation Reference
Windows
  1. Install a package manager.

    Set-ExecutionPolicy RemoteSigned -scope CurrentUser
    Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
    
  2. Install golang & makeใ€‚

    scoop install go make
    
CentOS7
  1. Install epel-releaseใ€‚

    yum install -y epel-release && yum update -y
    
  2. Install golang & makeใ€‚

    yum install -y golang make
    
Mac
  • Mac ports

    sudo ports install golang make
    
  • Brew

    sudo brew install golang make
    
  1. Download the source code.

    git clone "https://github.com/deflinhec/rfslog" rfslog
    cd rfslog
    
  2. Build from source.

    go build -trimpath -mod=vendor
    
๐Ÿ›  Cross-Platform Build

The build process uses the GNU make toolchain to ensure consistent build processes across different platforms.

  1. Build for diffirent platform.

    make cross-compile-linux-amd64
    make cross-compile-linux-arm64
    make cross-compile-darwin-arm64
    make cross-compile-darwin-amd64
    make cross-compile-windows-amd64
    

๐Ÿ“œ Command-Line Options

Option Description
--version Display versio information.
configfile Export a template configuration file in the working directory.
Option Description Default value
--config Absolute path to the configuration YAML file.
--watch Directory to monitor the file changes. .

Documentation ยถ

The Go Gopher

There is no documentation for this package.

Directories ยถ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ ๆข็ฝ‘ๅ€