Skip to content

Releases: ayoisaiah/f2

v2.0.3

23 Nov 06:20
69054a4
Compare
Choose a tag to compare

Changelog

Fix bug caused by space trimming in --find, --replace, --exclude, and --exclude-dir.

Development build (master)

23 Nov 06:18
69054a4
Compare
Choose a tag to compare
Pre-release

This build is directly sourced from the master branch in active development. As such, it may include experimental features and potential bugs.

v2.0.2

22 Nov 21:02
f2749b4
Compare
Choose a tag to compare

Changelog

Fix bug when using commas in find or replace strings

v2.0.1

06 Nov 21:49
7f5d251
Compare
Choose a tag to compare

Changelog

This is a patch release to update the Go module to v2. It contains no new features.

To read more about 2.0.0

Please see: https://github.com/ayoisaiah/f2/releases/tag/v2.0.0

v2.0.0

03 Nov 09:11
ada6851
Compare
Choose a tag to compare

Changelog

New features

  • Add natural sort option for sorting filenames containing numbers in a natural way.
  • Add ability to extract double extensions like .tar.gz using {2ext}.
  • Add --exiftool-opts to customize Exiftool's output.
  • Add --exclude-dir flag for excluding whole directories when matching files.
  • Add ability to specify a custom pattern when fixing conflicts (--fix-conflicts-pattern).
  • Add support for file pair renaming with --pair and --pair-order.
  • Add --target-dir option for specifying a target directory for renamed files.
  • Add --clean option for cleaning up empty directories after renaming.
  • Add ability to sort files based on arbitrary input using --sort and --sort-var.
  • Add ability to apply sorting per directory with --sort-per-dir.
  • Add ability to reset an index when recursing into a new directory with --reset-index-per-dir.

Enhancements

  • Significant performance improvements (up to ~3x faster than the previous version).
  • Improve conflict detection by adding validations for:
    • When the source file is not found.
    • When the target name changes later in the same operation.
  • Clean up output reporting.
  • Improvements to --undo.
  • Improve CSV renaming implementation.
  • Improve help messages and documentation.

Bug fixes

  • Fix status reporting for unchanged files.
  • Fix dotfiles being regarded as hidden in Windows.
  • Fix piping file arguments from external commands.
  • Fix some Windows-specific bugs with CSV renaming.

Deprecations / Removals

  • Remove random variables.
  • Remove simple mode.

v1.9.1

09 Aug 07:34
9bc9a8c
Compare
Choose a tag to compare

Changelog

  • Improve performance in dry-run mode (due to table rendering).
  • Fix issue where files could be overwritten when --fix-conflicts is used.

v1.9.0

02 Feb 05:52
a4a37df
Compare
Choose a tag to compare

Changelog

  • Simple mode now prompts before executing.
  • You can now use capture variables with indexing.
  • Syntax for string transformation has been improved and simplified.
  • JSON support has been added.
  • Simplify variables syntax.
  • Add ability to extract date from arbitrary strings.
  • Improve support for case insensitive filesystems.
  • Indexing fixes and syntax updates.

v1.8.0

22 Feb 06:09
61c062d
Compare
Choose a tag to compare

Changelog

  • Add a "simple mode" for quick renaming operations in the current directory.
  • Ignore extension flag no longer affects directory names.
  • Default options can be changed via F2_DEFAULT_OPTS.
  • Fix duplicate paths when traversing directories to prevent unnecessary errors.
  • Output is now sorted in dry-run mode.
  • Update notification is now opt-in via F2_UPDATE_NOTIFIER.
  • Version information is now more streamlined.
  • Dry run table output has been improved and made more compact.

v1.7.2

23 Aug 11:16
2caa624
Compare
Choose a tag to compare

Changelog

  • Fix for Windows path not specified error on long paths

v1.7.1

05 Aug 21:48
b04fe6c
Compare
Choose a tag to compare

The following enhancements were made:

  • Quiet mode (--quiet) no longer suppresses errors.
  • Help output has been improved and made more succinct.
  • Running F2 without arguments now shows a short help message.