Subject: | Doc update: exampls for multiple expressions and moving between directories |
As suggested in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=207017:
diff --git a/rename.PL b/rename.PL
index 30694ed..53bdca7 100644
--- a/rename.PL
+++ b/rename.PL
@@ -106,6 +106,11 @@ To translate uppercase names to lower, you'd use
rename 'y/A-Z/a-z/' *
+You can also use rename to move files between directories, possibly at
+the same time as making other changes:
+
+ rename 'y/A-Z/a-z/;s/^/my_new_dir\//' *
+
=head1 OPTIONS
=over 8