#!perl use strict; use warnings; use App::perlmv; use Getopt::Long::Complete; # just so we can detect script as using Getopt::Long::Complete our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY our $DATE = '2023-11-17'; # DATE our $DIST = 'App-perlmv'; # DIST our $VERSION = '0.609'; # VERSION my $pmv = App::perlmv->new; $pmv->{ 'mode' } = 'rename'; $pmv->run; 1; # ABSTRACT: Rename files using Perl code # PODNAME: perlrename __END__ =pod =encoding UTF-8 =head1 NAME perlrename - Rename files using Perl code =head1 VERSION This document describes version 0.609 of perlrename (from Perl distribution App-perlmv), released on 2023-11-17. =head1 DESCRIPTION See L<perlmv> for more documentation. =head1 COMPLETION This script has shell tab completion capability with support for several shells. =head2 bash To activate bash completion for this script, put: complete -C perlrename perlrename in your bash startup (e.g. C<~/.bashrc>). Your next shell session will then recognize tab completion for the command. Or, you can also directly execute the line above in your shell to activate immediately. It is recommended, however, that you install modules using L<cpanm-shcompgen> which can activate shell completion for scripts immediately. =head2 tcsh To activate tcsh completion for this script, put: complete perlrename 'p/*/`perlrename`/' in your tcsh startup (e.g. C<~/.tcshrc>). Your next shell session will then recognize tab completion for the command. Or, you can also directly execute the line above in your shell to activate immediately. It is also recommended to install C<shcompgen> (see above). =head2 other shells For fish and zsh, install C<shcompgen> as described above. =head1 HOMEPAGE Please visit the project's homepage at L<https://metacpan.org/release/App-perlmv>. =head1 SOURCE Source repository is at L<https://github.com/perlancar/perl-App-perlmv>. =head1 SEE ALSO L<perlmv> =head1 AUTHOR perlancar <perlancar@cpan.org> =head1 CONTRIBUTING To contribute, you can send patches by email/via RT, or send pull requests on GitHub. Most of the time, you don't need to build the distribution yourself. You can simply modify the code, then test via: % prove -l If you want to build the distribution (e.g. to try to install it locally on your system), you can install L<Dist::Zilla>, L<Dist::Zilla::PluginBundle::Author::PERLANCAR>, L<Pod::Weaver::PluginBundle::Author::PERLANCAR>, and sometimes one or two other Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond that are considered a bug and can be reported to me. =head1 COPYRIGHT AND LICENSE This software is copyright (c) 2023, 2022, 2020, 2015, 2014, 2013, 2012, 2011, 2010 by perlancar <perlancar@cpan.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. =head1 BUGS Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=App-perlmv> 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. =cut