unix - How can I make this find command work recursively in the current directory? -


i have find command , need make work recursively in current directory ( @ moment searches files on disk )

find . -name ‘oldname*’ -print0 | xargs -0 rename -s ‘oldname’ ‘newname’ 

any idea how make search in current directory navigated in terminal ?

would work?

find . -name 'oldname' -exec rename -n 'oldname' 'newname' \; 

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -