renamer

package
v0.0.0-...-b0dcf36 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

package renamer provides an interactive file renamer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Renamer

type Renamer struct {
	SelfCommand string
	Stdin       io.Reader
	Stdout      io.Writer
	Stderr      io.Writer
	FZFExec     string
}

Renamer is an interactive renamer for UCS filenames.

func NewDefault

func NewDefault() (Renamer, error)

func (Renamer) Run

func (r Renamer) Run(filename string, forceConfirm bool) error

Run executes a rename for the given file. It prompts the user for CatID, FXName, CreatorID, SourceID and UserData. A final confirmation is required unless forceConfirm is true.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL