Write a command to rename the files in a directory with "_new" as postfix?



Write a command to rename the files in a directory with "_new" as postfix?..

Answer / Reeshoo Kumar Mishra

find . -type f -exec rename 's/./_new/' {} ;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Awk Interview Questions

What are Associative Arrays?

1 Answers  


What is the use of string function sub(regex,replacement,string)?

1 Answers  


What is the use of string function match(string,regex)?

1 Answers  


What are Dynamic Variables?

1 Answers  


What are Trigonometric Functions in AWK?

1 Answers  


What is the use of OFMT?

1 Answers  


What is the use of format specifier %g ?

1 Answers  


What is the use of format specifier %e ?

1 Answers  


What is the use of SUBSEP?

1 Answers  


What are System functions?

1 Answers  


What are Conditional expressions in AWK?

1 Answers  


What is the use of string function asorti(string,[d])?

1 Answers  


Categories