Skip to content
Home » Kali » UBUNTU 20.04 FIND AND REPLACE MULTIPLE FILE NAMES

UBUNTU 20.04 FIND AND REPLACE MULTIPLE FILE NAMES

I have run into a situation where I need to find a file named zip.html and change it to download.zip on several hundred files.

To do so, I simply need to run the following from the command line as root

find . -type f -name zip.html -execdir mv zip.html download.zip \;