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

c# SetCompatibleTextRenderingDefault must be called before the first -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -

c++ - Fill runtime data at compile time with templates -