Tag Archives: batch rename

Shell programming trap: batch rename with find

When we want to rename all files under the current directory and its sub-directories, say renaming files with .shell suffix to those with .sh suffix. we may write this command: find . -name “*.shell” -exec mv {} $(echo {} | … Continue reading

Posted in Programming, System Administration | Tagged | Leave a comment