Post History
perl-rename -nv 'regex' **/* Breakdown: -n: Dry run—no files are actually renamed; it only shows what would happen. -v: Verbose—prints each renaming operation. 'regex': Your Perl regex desc...
#3: Post edited
- ```sh
- perl-rename -nv 'regex' **/*
- ```
- #### Breakdown:
- - **-n**: *Dry run*—no files are actually renamed; it only shows what *would* happen.
- **-v**: *Verbose*—prints each renaming operation in the format:```original_filename renamed as new_filename```- - **'regex'**: Your Perl regex describing how names should change.
- - **`**/*`**: Expands to all files in the current directory and all its subdirectories (requires your shell to support globstar, e.g., Bash 4+ with `shopt -s globstar` enabled).
- ```sh
- perl-rename -nv 'regex' **/*
- ```
- #### Breakdown:
- - **-n**: *Dry run*—no files are actually renamed; it only shows what *would* happen.
- - **-v**: *Verbose*—prints each renaming operation.
- - **'regex'**: Your Perl regex describing how names should change.
- - **`**/*`**: Expands to all files in the current directory and all its subdirectories (requires your shell to support globstar, e.g., Bash 4+ with `shopt -s globstar` enabled).
#1: Initial revision
```sh perl-rename -nv 'regex' **/* ``` #### Breakdown: - **-n**: *Dry run*—no files are actually renamed; it only shows what *would* happen. - **-v**: *Verbose*—prints each renaming operation in the format: ``` original_filename renamed as new_filename ``` - **'regex'**: Your Perl regex describing how names should change. - **`**/*`**: Expands to all files in the current directory and all its subdirectories (requires your shell to support globstar, e.g., Bash 4+ with `shopt -s globstar` enabled).
