reg-rename can also rename dirs

This commit is contained in:
斟酌 鵬兄 2024-11-04 05:35:55 +08:00
parent f69c09a37d
commit 80ec3e8691

View File

@ -117,7 +117,8 @@ class RegReplace:
sys.stdout.write( "\033[K" ) # Clear line
sys.stdout.write( "%s ... %s" % ( bb[ bb_i ], root ) )
actions = self._compile_actions( root, files )
actions = self._compile_actions( root, dirs )
actions.extend( self._compile_actions( root, files ) )
sys.stdout.write("\r") # Goto line start
sys.stdout.write( "\033[F" ) # Move up