- SEE ALSO
- COPYRIGHT AND LICENSE
App::FileRenameUtils - Utilities related to renaming/moving files
This document describes version 0.006 of App::FileRenameUtils (from Perl distribution App-FileRenameUtils), released on 2020-08-22.
This distribution provides the following command-line utilities:
$new_name = add_filename_suffix($filename, $suffix);
add_filename_suffix("foo.jpg", " (1)"); # -> "foo (1).jpg" add_filename_suffix("foo", " (1)"); # -> "foo (1)"
$new_name = find_unique_filename($filename);
Continue adding suffix " (1)", " (2)", and so on to
$filename (see "add_filename_suffix") until the new name does not exist on the filesystem. If
$filename already does not exist, it will be returned as-is.
Please visit the project's homepage at https://metacpan.org/release/App-FileRenameUtils.
Source repository is at https://github.com/perlancar/perl-App-FileRenameUtils.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-FileRenameUtils
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
This software is copyright (c) 2020, 2019 by firstname.lastname@example.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.