How can I rename files in recursive folders and the move the files all to one directory?
by sofasurfer from LinuxQuestions.org on (#5RKVQ)
I have 100 directories which are full of photos. There are also sub directories full of photos. I want to rename all photos with a number (example 1-10000) prefixed onto the current filename. Then I want all photos moved into one directory.
I tried krename and after I figured out its idiosyncrasies I found that it does not dig down into the recursive directories, unless I just haven't used it properly.
I can add directories into krename and it will process the files in it but if there is a sub directory in the directory it will not process the file in it.
Is there a solution here or a better software?
I managed to rename files in a directory with a command line script but when it comes to multiple directories and recursive directories its just too complicated for me at this time.
I tried krename and after I figured out its idiosyncrasies I found that it does not dig down into the recursive directories, unless I just haven't used it properly.
I can add directories into krename and it will process the files in it but if there is a sub directory in the directory it will not process the file in it.
Is there a solution here or a better software?
I managed to rename files in a directory with a command line script but when it comes to multiple directories and recursive directories its just too complicated for me at this time.