Bareword "file" not allowed while "strict subs" in use at line 2, in:file. | use rename command

Published: 29 September 2022
on channel: linux-syr
209
1

Syntax Rename Command for Linux:
rename [OPTIONS] Perlexpressions files

The rename command will rename files according to the specific regular Perl expressions.
Example

for example to change all .bash files to a .txt files we will the following command:

$sudo rename 's/.bash/.txt/' *.bash

otherwise for normal rename process use the command mv:

mv file1.pdf file2.pdf


Watch video Bareword "file" not allowed while "strict subs" in use at line 2, in:file. | use rename command online without registration, duration hours minute second in high quality. This video was added by user linux-syr 29 September 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 209 once and liked it 1 people.